[Feature] Added option to switch to Manrope

This commit is contained in:
Prathamesh More 2022-01-06 23:19:26 +05:30
parent 83fca0a829
commit dfa3129239
17 changed files with 56 additions and 6 deletions

View file

@ -121,6 +121,11 @@ class ThemeSettingsFragment : AbsSettingsFragment() {
restartActivity()
true
}
val customFont: ATESwitchPreference? = findPreference(CUSTOM_FONT)
customFont?.setOnPreferenceChangeListener { _, _ ->
restartActivity()
true
}
}
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {