fix unresolved reference: remove unused settingsRepo from CaptureViewModel

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-18 12:21:41 -04:00
parent 779ad6c737
commit 7671416038

View File

@@ -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()