Simplified comparison
This commit is contained in:
@@ -305,8 +305,7 @@ class _RoundViewState extends State<RoundView> {
|
|||||||
? () {
|
? () {
|
||||||
_finishRound();
|
_finishRound();
|
||||||
LocalStorageService.saveGameSessions();
|
LocalStorageService.saveGameSessions();
|
||||||
if (widget.gameSession.isGameFinished ==
|
if (widget.gameSession.isGameFinished) {
|
||||||
true) {
|
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
} else {
|
} else {
|
||||||
Navigator.pop(
|
Navigator.pop(
|
||||||
|
|||||||
Reference in New Issue
Block a user