Compare commits
2 Commits
6dc43ad411
...
50b35a0025
| Author | SHA1 | Date | |
|---|---|---|---|
| 50b35a0025 | |||
| 7671416038 |
@@ -24,7 +24,6 @@ data class CaptureUiState(
|
|||||||
class CaptureViewModel(app: Application) : AndroidViewModel(app) {
|
class CaptureViewModel(app: Application) : AndroidViewModel(app) {
|
||||||
|
|
||||||
private val dao = (app as SynqApp).db.captureDao()
|
private val dao = (app as SynqApp).db.captureDao()
|
||||||
private val settingsRepo = app.settings
|
|
||||||
|
|
||||||
private val _state = MutableStateFlow(CaptureUiState())
|
private val _state = MutableStateFlow(CaptureUiState())
|
||||||
val state: StateFlow<CaptureUiState> = _state.asStateFlow()
|
val state: StateFlow<CaptureUiState> = _state.asStateFlow()
|
||||||
|
|||||||
Reference in New Issue
Block a user