File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
dogfooding/src/main/kotlin/io/getstream/video/android/ui Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ private fun CallLobbyBody(
210210 // turn on camera and microphone by default
211211 LaunchedEffect (key1 = Unit ) {
212212 delay(300 )
213- if (BuildConfig .BENCHMARK ) {
213+ if (BuildConfig .BENCHMARK .toBoolean() ) {
214214 callLobbyViewModel.call.camera.disable()
215215 callLobbyViewModel.call.microphone.disable()
216216 } else if (! localInspectionMode) {
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ private fun LoginContent(
173173 ),
174174 )
175175
176- if (BuildConfig .BENCHMARK ) {
176+ if (BuildConfig .BENCHMARK .toBoolean() ) {
177177 StreamButton (
178178 modifier = Modifier
179179 .fillMaxWidth()
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ class LoginViewModel @Inject constructor(
9191 val user = dataStore.user.firstOrNull()
9292 if (user != null ) {
9393 handleUiEvent(LoginEvent .Loading )
94- if (user.isValid() && ! BuildConfig .BENCHMARK ) {
94+ if (user.isValid() && ! BuildConfig .BENCHMARK .toBoolean() ) {
9595 delay(10 )
9696 handleUiEvent(LoginEvent .SignInInSuccess (userId = user.id))
9797 }
You can’t perform that action at this time.
0 commit comments