Skip to content

Commit

Permalink
💩 Disable travelynx for now (#487)
Browse files Browse the repository at this point in the history
closes #472
  • Loading branch information
jheubuch authored Feb 20, 2025
1 parent 23c1389 commit 4936162
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/src/main/kotlin/de/hbch/traewelling/ui/checkIn/CheckIn.kt
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ fun CheckIn(
val bottomSearchViewModel: BottomSearchViewModel = viewModel()

var enableTrwlCheckIn by rememberSaveable { mutableStateOf(secureStorage.getObject(SharedValues.SS_TRWL_AUTO_LOGIN, Boolean::class.java) ?: true) }
val travelynxConfigured = secureStorage.getObject(SharedValues.SS_TRAVELYNX_TOKEN, String::class.java)?.isNotBlank() ?: false
var enableTravelynxCheckIn by rememberSaveable { mutableStateOf(secureStorage.getObject(SharedValues.SS_TRAVELYNX_AUTO_CHECKIN, Boolean::class.java) ?: false) }
// todo reactivate when travelynx is working again
val travelynxConfigured = (secureStorage.getObject(SharedValues.SS_TRAVELYNX_TOKEN, String::class.java)?.isNotBlank() ?: false) && false
var enableTravelynxCheckIn by rememberSaveable { mutableStateOf((secureStorage.getObject(SharedValues.SS_TRAVELYNX_AUTO_CHECKIN, Boolean::class.java) ?: false) && false) }

var businessSelectionVisible by remember { mutableStateOf(false) }
var visibilitySelectionVisible by remember { mutableStateOf(false) }
Expand Down

0 comments on commit 4936162

Please sign in to comment.