mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-26 13:21:01 +00:00
chore: cleanup
This commit is contained in:
@@ -27,7 +27,7 @@ import eltos.simpledialogfragment.color.SimpleColorDialog
|
||||
|
||||
class SettingsThemeActivity : AppCompatActivity(), SimpleDialog.OnDialogResultListener {
|
||||
private lateinit var binding: ActivitySettingsThemeBinding
|
||||
private var reload = false
|
||||
private var reload = PrefManager.getCustomVal("reload", true)
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
ThemeManager(this).applyTheme()
|
||||
@@ -211,7 +211,6 @@ class SettingsThemeActivity : AppCompatActivity(), SimpleDialog.OnDialogResultLi
|
||||
fun reload() {
|
||||
PrefManager.setCustomVal("reload", true)
|
||||
restartApp()
|
||||
reload = true
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user