Skip to content

Commit

Permalink
Fix format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Mar 12, 2024
1 parent 3f421a8 commit 0169a3b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import androidx.compose.material3.SnackbarHostState
import androidx.compose.material3.Text
import androidx.compose.material3.rememberModalBottomSheetState
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
Expand Down Expand Up @@ -135,19 +134,19 @@ fun SelectLocation(
val context = LocalContext.current

LaunchedEffectCollect(vm.uiSideEffect) {
when (it) {
SelectLocationSideEffect.CloseScreen -> navigator.navigateUp()
is SelectLocationSideEffect.LocationAddedToCustomList -> {
launch {
snackbarHostState.showResultSnackbar(
context = context,
result = it.result,
onUndo = vm::performAction
)
}
when (it) {
SelectLocationSideEffect.CloseScreen -> navigator.navigateUp()
is SelectLocationSideEffect.LocationAddedToCustomList -> {
launch {
snackbarHostState.showResultSnackbar(
context = context,
result = it.result,
onUndo = vm::performAction
)
}
}
}
}

createCustomListDialogResultRecipient.OnCustomListNavResult(
snackbarHostState,
Expand Down
6 changes: 3 additions & 3 deletions gui/locales/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2199,15 +2199,15 @@ msgstr ""
msgid "No internet connection"
msgstr ""

msgid "Please use the <b>Always-on</b> system setting instead by following the guide in <b>%s</b> above."
msgstr ""

msgid "No locations found"
msgstr ""

msgid "Not found"
msgstr ""

msgid "Please use the <b>Always-on</b> system setting instead by following the guide in <b>%s</b> above."
msgstr ""

msgid "Preferences"
msgstr ""

Expand Down

0 comments on commit 0169a3b

Please sign in to comment.