restart app when app layout flag is changed

This commit is contained in:
NIkita Fedrunov 2022-09-08 16:14:57 +02:00
parent de17c47a7d
commit cb36ef766c
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}
}