Skip to content

Commit

Permalink
[matkakortti] Don't pop the state when unsupported card is detected
Browse files Browse the repository at this point in the history
  • Loading branch information
monich committed Jun 21, 2023
1 parent 4425ced commit f6285cd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions qml/MainPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,6 @@ Page {
}
}
break

case TravelCard.CardNone:
if (targetPresent && cardInfoPage) {
// Unsupported card
cardInfoPage.backNavigation = true
pageStack.pop(page, PageStackAction.Animated)
}
break
}
}
}
Expand Down

0 comments on commit f6285cd

Please sign in to comment.