File tree Expand file tree Collapse file tree
ui/feature-demo/src/commonMain/kotlin/com/velord/ui/feature/demo Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import com.velord.model.ToastConfig
66import com.velord.model.ToastDuration
77import com.velord.ui.sharedviewmodel.LocalizationVM
88import com.velord.usecase.event.ShowToastUC
9+ import com.velord.usecase.setting.GetLocalizationStateUC
910import kotlinx.coroutines.flow.MutableSharedFlow
1011import kotlinx.coroutines.launch
1112
@@ -20,9 +21,10 @@ sealed interface DemoUiAction {
2021}
2122
2223class DemoVM (
24+ getLocalizationStateUC : GetLocalizationStateUC ,
2325 private val buildConfigResolver : BuildConfigResolver ,
2426 private val showToastUC : ShowToastUC ,
25- ) : LocalizationVM() {
27+ ) : LocalizationVM(getLocalizationStateUC ) {
2628
2729 val navigationEvent = MutableSharedFlow <DemoNavigationEvent >()
2830 private val actionFlow = MutableSharedFlow <DemoUiAction >()
You can’t perform that action at this time.
0 commit comments