Skip to content

Commit

Permalink
remove not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
panasetskaya committed Dec 12, 2024
1 parent 380477e commit ba3b511
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package com.hedvig.android.design.system.hedvig

import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.size
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.runtime.compositionLocalOf
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.SpanStyle
import androidx.compose.ui.text.style.TextDecoration
import androidx.compose.ui.unit.dp
import com.halilibo.richtext.ui.BasicRichText
import com.halilibo.richtext.ui.LinkClickHandler
import com.halilibo.richtext.ui.RichTextScope
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fun NavGraphBuilder.addonPurchaseNavGraph(
}
},
onNavigateToNewConversation = {
navController.typedPopBackStack<AddonPurchaseGraphDestination>(inclusive = true) // todo: is this the right thing?
navController.typedPopBackStack<AddonPurchaseGraphDestination>(inclusive = true)
onNavigateToNewConversation(backStackEntry)
},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ private fun CustomizeTravelAddonScreen(
errorMessage = state.errorMessage,
reload = reload,
popBackStack = popBackStack,
navigateToChat = navigateToChat
navigateToChat = navigateToChat,
)
is CustomizeTravelAddonState.Loading -> {
CustomizeTravelAddonState.Loading -> {
HedvigFullScreenCenterAlignedProgress()
}
is CustomizeTravelAddonState.Success -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ internal fun SubmitAddonFailureScreen(popBackStack: () -> Unit) {
text = stringResource(R.string.something_went_wrong),
description = stringResource(
R.string.TIER_FLOW_COMMIT_PROCESSING_ERROR_DESCRIPTION,
// todo!!! change copy!
),
iconStyle = ERROR,
buttonStyle = Button(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ private fun SummaryCard(uiState: Content, modifier: Modifier = Modifier) {
}
QuoteCard(
subtitle = stringResource(R.string.ADDON_FLOW_SUMMARY_ACTIVE_FROM, formattedDate),
premium = @Composable {
premium = {
Row(horizontalArrangement = Arrangement.End) {
if (uiState.currentTravelAddon != null) {
HedvigText(
Expand Down

0 comments on commit ba3b511

Please sign in to comment.