Skip to content

Commit 3e99318

Browse files
committed
Update title
1 parent 8fc1a12 commit 3e99318

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/java/one/mixin/android/ui/wallet/alert/AlertEditPage.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ fun AlertEditPage(
121121
var inputError by remember { mutableStateOf(if (alertValue.toBigDecimalOrNull() == currentPrice && selectedAlertType != AlertType.PRICE_REACHED) InputError.EQUALS_CURRENT_PRICE else null) }
122122
val viewModel = hiltViewModel<AlertViewModel>()
123123
PageScaffold(
124-
title = stringResource(id = if (alert == null) R.string.Alert else R.string.Edit_Alert),
124+
title = stringResource(id = if (alert == null) R.string.Add_Alert else R.string.Edit_Alert),
125125
verticalScrollable = false,
126126
pop = pop,
127127
) {
@@ -477,7 +477,7 @@ fun AlertEditPage(
477477
}
478478
Text(
479479
modifier = Modifier.alpha(if (isLoading) 0f else 1f),
480-
text = stringResource(if (alert == null) R.string.Alert else R.string.Save),
480+
text = stringResource(if (alert == null) R.string.Add_Alert else R.string.Save),
481481
color = if (enable) Color.White else MixinAppTheme.colors.textAssist,
482482
)
483483
}

app/src/main/java/one/mixin/android/ui/wallet/alert/AllAlertPage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ fun AllAlertPage(coins: Set<CoinItem>?, openFilter: () -> Unit, pop: () -> Unit,
117117
)
118118
Spacer(modifier = Modifier.width(4.dp))
119119
Text(
120-
text = stringResource(R.string.Alert), color = Color(0xFF3D75E3)
120+
text = stringResource(R.string.Add_Alert), color = Color(0xFF3D75E3)
121121
)
122122
}
123123
}

0 commit comments

Comments
 (0)