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