Skip to content

Commit

Permalink
Remove report problem state dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Oct 3, 2023
1 parent d14923c commit 8b1cc6c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 227 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fun ReportProblemScreen(
var email by rememberSaveable { mutableStateOf("") }
var description by rememberSaveable { mutableStateOf("") }

// Dialog to show sending states
// Show sending states
if (uiState.sendingState != null) {
Column(
modifier =
Expand All @@ -140,15 +140,6 @@ fun ReportProblemScreen(
ErrorContent({ onSendReport(email, description) }, onClearSendResult)
is SendingReportUiState.Success -> SentContent(uiState.sendingState)
}
// ShowReportProblemState(
// uiState.sendingState,
// onDismiss = onClearSendResult,
// onClearForm = {
// email = ""
// description = ""
// },
// retry = { onSendReport(email, description) }
// )
return@CollapsingToolbarScaffold
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ data class Dimensions(
val countryRowPadding: Dp = 18.dp,
val customPortBoxMinWidth: Dp = 80.dp,
val dialogIconHeight: Dp = 44.dp,
val dialogIconSize: Dp = 48.dp,
val expandableCellChevronSize: Dp = 30.dp,
val iconFailSuccessSize: Dp = 60.dp,
val iconFailSuccessTopMargin: Dp = 30.dp,
Expand Down Expand Up @@ -58,7 +59,6 @@ data class Dimensions(
val topBarHeight: Dp = 64.dp,
val verticalSpace: Dp = 20.dp,
val verticalSpacer: Dp = 1.dp,
val dialogIconSize: Dp = 48.dp
)

val defaultDimensions = Dimensions()
Expand Down

0 comments on commit 8b1cc6c

Please sign in to comment.