dark mode-v8

This commit is contained in:
Eric85710 2026-04-23 17:36:46 +08:00
parent 42872e9ad3
commit cb11e9d6d1

View file

@ -7,7 +7,7 @@ import androidx.lifecycle.ViewModel
import com.example.login_v3.ui.theme.AppTheme
class Theme_ViewModel : ViewModel() {
var currentTheme by mutableStateOf(AppTheme.DARK)
var currentTheme by mutableStateOf(AppTheme.SYSTEM)
private set
fun updateTheme(newTheme: AppTheme) {