Skip to content

Commit

Permalink
Default to Prod (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanshg authored Jan 31, 2024
1 parent 89a2699 commit f9140b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import androidx.compose.foundation.layout.wrapContentHeight
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material.icons.filled.Delete
import androidx.compose.material.icons.filled.Warning
import androidx.compose.material3.AlertDialog
import androidx.compose.material3.Badge
import androidx.compose.material3.BadgedBox
Expand Down Expand Up @@ -372,16 +371,6 @@ private fun TopBar(
FilterChip(
selected = uiState.isProduction,
onClick = viewModel::toggleEnvironment,
leadingIcon = {
if (uiState.isProduction) {
Icon(
imageVector = Icons.Filled.Warning,
contentDescription = stringResource(
R.string.production,
),
)
}
},
label = { Text(stringResource(id = uiState.environmentName)) },
)
if (isJobsScreenSelected) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fun RootScreen(
SmileID.initialize(
context = context,
config = runtimeConfig!!,
useSandbox = true,
useSandbox = false,
enableCrashReporting = !BuildConfig.DEBUG,
okHttpClient = client,
)
Expand All @@ -68,7 +68,7 @@ fun RootScreen(
initialized = false
SmileID.initialize(
context = context,
useSandbox = true,
useSandbox = false,
enableCrashReporting = !BuildConfig.DEBUG,
okHttpClient = client,
)
Expand Down

0 comments on commit f9140b6

Please sign in to comment.