File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
feature/results/src/main/java/com/android/developers/androidify/customize Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class CustomizeExportViewModel @AssistedInject constructor(
6565 ): CustomizeExportViewModel
6666 }
6767
68- private val _state = MutableStateFlow (CustomizeExportState ())
68+ private val _state = MutableStateFlow (CustomizeExportState (xrEnabled = remoteConfigDataSource.isXrEnabled() ))
6969 val state: StateFlow <CustomizeExportState > = combine(
7070 _state ,
7171 watchfaceInstallationRepository.connectedWatch,
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ data class CustomizeExportState(
4040 val connectedWatch : ConnectedWatch ? = null ,
4141 val watchFaceInstallationStatus : WatchFaceInstallationStatus = WatchFaceInstallationStatus .NotStarted ,
4242 val watchFaceSelectionState : WatchFaceSelectionState = WatchFaceSelectionState (),
43+ val xrEnabled : Boolean = false ,
4344)
4445
4546interface ToolState {
You can’t perform that action at this time.
0 commit comments