forked from melod1n/fast-messenger
refactor: improve auth screen and bump haze version
* Bump haze version to 1.6.0. * Blur now works on android 11 and older * Add "Sign up" and "Forgot password?" links to the auth screen. * Add logic to toggle dynamic colors on logo click in the auth screen (Android 12+).
This commit is contained in:
@@ -416,8 +416,7 @@ class SettingsViewModelImpl(
|
||||
key = SettingsKeys.KEY_USE_BLUR,
|
||||
defaultValue = SettingsKeys.DEFAULT_USE_BLUR,
|
||||
title = UiText.Resource(UiR.string.settings_experimental_use_blur_title),
|
||||
text = UiText.Resource(UiR.string.settings_experimental_use_blur_summary),
|
||||
isVisible = Build.VERSION.SDK_INT >= Build.VERSION_CODES.S
|
||||
text = UiText.Resource(UiR.string.settings_experimental_use_blur_summary)
|
||||
)
|
||||
val enableAnimations = SettingsItem.Switch(
|
||||
key = SettingsKeys.KEY_MORE_ANIMATIONS,
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ fun SettingsScreen(
|
||||
|
||||
val themeConfig = LocalThemeConfig.current
|
||||
|
||||
val hazeState = remember { HazeState() }
|
||||
val hazeState = remember { HazeState(true) }
|
||||
|
||||
Scaffold(
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
|
||||
Reference in New Issue
Block a user