* fix(#290): use LocalHermesStatusColors instead of magic colors (CODE-33) * fix(#290): replace boolean-flag params with sealed NavIcon class (CODE-37) * fix(#290): resolve compilation errors — Color import + nullable NavIcon params --------- Co-authored-by: M57 <hy4ri@users.noreply.github.com>
This commit is contained in:
1 parent
cc40658661
commit
f190b67ee6
22 files changed
+73
-42
No files matched your search
@@ -69,6 +69,7 @@ import com.m57.hermescontrol.theme.BottomNavDisplayMode
|
||||
import com.m57.hermescontrol.theme.ThemePreference
|
||||
import com.m57.hermescontrol.theme.ThemePreset
|
||||
import com.m57.hermescontrol.ui.common.HermesScaffold
|
||||
import com.m57.hermescontrol.ui.common.NavIcon
|
||||
|
||||
enum class SettingsTab {
|
||||
CONNECTION,
|
||||
@@ -93,8 +94,7 @@ fun SettingsScreen(
|
||||
|
||||
HermesScaffold(
|
||||
title = { Text(stringResource(R.string.screen_settings)) },
|
||||
showBack = true,
|
||||
onBack = onBack,
|
||||
navigationIcon = NavIcon.Back(onBack),
|
||||
) {
|
||||
Column(
|
||||
modifier =
|
||||
|
||||
Reference in new issue
Block a user