Refactor: Removed unused code.
Signed-off-by: HeCodes2Much <wayne6324@gmail.com>
This commit is contained in:
@@ -3,8 +3,6 @@ package com.github.droidworksstudio.launcher
|
|||||||
import android.app.Application
|
import android.app.Application
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.graphics.Typeface
|
import android.graphics.Typeface
|
||||||
import android.os.Build
|
|
||||||
import androidx.annotation.RequiresApi
|
|
||||||
import com.github.droidworksstudio.launcher.helper.PreferenceHelper
|
import com.github.droidworksstudio.launcher.helper.PreferenceHelper
|
||||||
import dagger.hilt.android.HiltAndroidApp
|
import dagger.hilt.android.HiltAndroidApp
|
||||||
import org.acra.ACRA
|
import org.acra.ACRA
|
||||||
@@ -22,7 +20,6 @@ class Application : Application() {
|
|||||||
@Inject
|
@Inject
|
||||||
lateinit var preferenceHelper: PreferenceHelper
|
lateinit var preferenceHelper: PreferenceHelper
|
||||||
|
|
||||||
@RequiresApi(Build.VERSION_CODES.O)
|
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
|
|
||||||
@@ -78,7 +75,6 @@ class Application : Application() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequiresApi(Build.VERSION_CODES.O)
|
|
||||||
private fun setCustomFont(context: Context) {
|
private fun setCustomFont(context: Context) {
|
||||||
// Load the custom font from resources
|
// Load the custom font from resources
|
||||||
val customFont = preferenceHelper.launcherFont.getFont(context)
|
val customFont = preferenceHelper.launcherFont.getFont(context)
|
||||||
|
|||||||
Reference in New Issue
Block a user