Skip to content

Commit a097a58

Browse files
author
Jeff Yanta
committed
Merge branch 'develop'
2 parents d40b797 + e738ab6 commit a097a58

7 files changed

Lines changed: 8 additions & 7 deletions

File tree

app/src/main/java/com/getcode/navigation/screens/ModalScreens.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ data object CurrencySelectionModal: MainGraph, ModalRoot {
301301
override fun Content() {
302302
val navigator = LocalCodeNavigator.current
303303
ModalContainer(
304-
closeButton = {
304+
backButton = {
305305
if (navigator.isVisible) {
306306
it is CurrencySelectionModal
307307
} else {

app/src/main/java/com/getcode/ui/components/Badge.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import androidx.compose.ui.Modifier
1313
import androidx.compose.ui.draw.drawBehind
1414
import androidx.compose.ui.graphics.Color
1515
import androidx.compose.ui.text.font.FontWeight
16+
import androidx.compose.ui.unit.Dp
1617
import androidx.compose.ui.unit.dp
1718
import com.getcode.theme.CodeTheme
1819
import com.getcode.ui.components.chat.ChatNodeDefaults
@@ -42,7 +43,7 @@ fun Badge(
4243
color = color,
4344
radius = this.size.maxDimension / 2f
4445
)
45-
}.padding(2.dp)
46+
}.padding(1.dp)
4647
)
4748
}
4849
}

app/src/main/java/com/getcode/view/main/account/withdraw/AccountWithdrawAmount.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fun AccountWithdrawAmount(
6464
isAnimated = true,
6565
textStyle = CodeTheme.typography.displayLarge,
6666
) {
67-
navigator.show(CurrencySelectionModal)
67+
navigator.push(CurrencySelectionModal)
6868
}
6969
}
7070

app/src/main/java/com/getcode/view/main/currency/CurrencySelectionSheet.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ fun CurrencySelectionSheet(
9797
composeScope.launch {
9898
keyboardController?.hide()
9999
delay(500)
100-
navigator.hideWithResult(it)
100+
navigator.popWithResult(it)
101101
}
102102
}.launchIn(this)
103103
}

app/src/main/java/com/getcode/view/main/giveKin/BaseAmountCurrencyViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ abstract class BaseAmountCurrencyViewModel(
205205
amountText = formatAmount(amountText, selectedCurrency),
206206
amountDouble = amount,
207207
amountKin = amountKin,
208-
amountPrefix = formatPrefix(selectedCurrency),
208+
amountPrefix = formatPrefix(selectedCurrency).takeIf { it != selectedCurrency.code }.orEmpty(),
209209
amountSuffix = formatSuffix(selectedCurrency),
210210
captionText = formatCaption(
211211
selectedCurrency,

app/src/main/java/com/getcode/view/main/giveKin/GiveKinSheet.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fun GiveKinSheet(
7070
modifier = Modifier
7171
.align(Alignment.Center)
7272
) {
73-
navigator.show(CurrencySelectionModal)
73+
navigator.push(CurrencySelectionModal)
7474
}
7575
}
7676

buildSrc/src/main/java/Dependencies.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ object Versions {
4444
const val kin_sdk: String = "1.0.1"
4545
const val grpc_android: String = "1.33.1"
4646
const val slf4j: String = "1.7.25"
47-
const val firebase_bom: String = "29.1.0"
47+
const val firebase_bom: String = "32.7.1"
4848
const val crashlytics_gradle: String = "2.8.1"
4949
const val play_service_auth = "20.4.0"
5050
const val play_service_auth_phone = "18.0.1"

0 commit comments

Comments
 (0)