mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
restart app when app layout flag is changed
This commit is contained in:
parent
de17c47a7d
commit
cb36ef766c
@ -138,6 +138,6 @@ class VectorSettingsLabsFragment :
|
||||
* Action when new layout preference switch is actually clicked.
|
||||
*/
|
||||
private fun onNewLayoutPreferenceClicked() {
|
||||
configureUnreadNotificationsAsTabPreference()
|
||||
MainActivity.restartApp(requireActivity(), MainActivityArgs(clearCache = true))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user