Refactoring
This commit is contained in:
@@ -131,7 +131,8 @@ class _MainMenuViewState extends State<MainMenuView> {
|
|||||||
gameTitle);
|
gameTitle);
|
||||||
},
|
},
|
||||||
onDismissed: (direction) {
|
onDismissed: (direction) {
|
||||||
gameManager.removeGameSession(index);
|
gameManager
|
||||||
|
.removeGameSessionByIndex(index);
|
||||||
},
|
},
|
||||||
dismissThresholds: const {
|
dismissThresholds: const {
|
||||||
DismissDirection.startToEnd: 0.6
|
DismissDirection.startToEnd: 0.6
|
||||||
|
|||||||
Reference in New Issue
Block a user