dark mode-v8
This commit is contained in:
parent
42872e9ad3
commit
cb11e9d6d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue