Skip to content

Commit a5fde6d

Browse files
committed
fix: re-trigger updateLimits when switch to online
1 parent e81a4ff commit a5fde6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/to/bitkit/ui/screens/transfer/SpendingAmountScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fun SpendingAmountScreen(
7171
val amountUiState by amountInputViewModel.uiState.collectAsStateWithLifecycle()
7272
val context = LocalContext.current
7373

74-
LaunchedEffect(Unit) {
74+
LaunchedEffect(isOffline) {
7575
viewModel.updateLimits()
7676
}
7777

0 commit comments

Comments
 (0)