Skip to content

Commit

Permalink
fix: usage with more than two sims
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnyro committed Feb 6, 2025
1 parent 5152b29 commit 8c59d1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ fun SmsThreadScreen(
}
Row(Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.End) {
OutlinedButton(onClick = {
currentSub = if (currentSub == 0) 1 else 0
currentSub = (currentSub + 1) % subscriptions.size
smsModel.currentSubscription = subscriptions[currentSub]
}) {
Text(
Expand Down

0 comments on commit 8c59d1a

Please sign in to comment.