dark mode-v12
This commit is contained in:
parent
bbcfc6440d
commit
98b78c598a
1 changed files with 34 additions and 28 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package com.example.login_v3.home.setting.setting_detail_page.detail_UI
|
||||
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.Row
|
||||
import androidx.compose.foundation.layout.Spacer
|
||||
|
|
@ -26,6 +27,10 @@ fun setting_theme_page(
|
|||
// 直接讀取,不需要 .value
|
||||
val selectedTheme by viewModel.currentTheme.collectAsState()
|
||||
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.padding(10.dp)
|
||||
) {
|
||||
Column(modifier = Modifier.padding(16.dp)) {
|
||||
Text(
|
||||
text = "主題設定",
|
||||
|
|
@ -62,4 +67,5 @@ fun setting_theme_page(
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue