mirror of
https://github.com/jrpie/Launcher.git
synced 2025-02-23 06:21:31 +01:00
fix: restart SettingsActivity after changes to settings
This commit is contained in:
parent
d46b27ea18
commit
b5aee67ec3
1 changed files with 4 additions and 4 deletions
|
@ -93,20 +93,20 @@ class SettingsFragmentLauncher : Fragment(), UIObject {
|
|||
|
||||
|
||||
bindSwitchToPref(settings_launcher_switch_screen_timeout, PREF_SCREEN_TIMEOUT_DISABLED, false) {
|
||||
setWindowFlags(activity!!.window)
|
||||
activity?.let{setWindowFlags(it.window)}
|
||||
}
|
||||
bindSwitchToPref(settings_launcher_switch_screen_full, PREF_SCREEN_FULLSCREEN, true) {
|
||||
setWindowFlags(activity!!.window)
|
||||
activity?.let{setWindowFlags(it.window)}
|
||||
}
|
||||
bindSwitchToPref(settings_launcher_switch_auto_launch, PREF_SEARCH_AUTO_LAUNCH, false) {}
|
||||
bindSwitchToPref(settings_launcher_switch_auto_keyboard, PREF_SEARCH_AUTO_KEYBOARD, true) {}
|
||||
bindSwitchToPref(settings_launcher_switch_enable_double, PREF_DOUBLE_ACTIONS_ENABLED, false) {
|
||||
intendedSettingsPause = true
|
||||
activity!!.recreate()
|
||||
activity?.recreate()
|
||||
}
|
||||
bindSwitchToPref(settings_launcher_switch_enable_edge, PREF_EDGE_ACTIONS_ENABLED, false) {
|
||||
intendedSettingsPause = true
|
||||
activity!!.recreate()
|
||||
activity?.recreate()
|
||||
}
|
||||
|
||||
settings_seekbar_sensitivity.setOnSeekBarChangeListener(
|
||||
|
|
Loading…
Add table
Reference in a new issue