File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ class BitsHomePageState extends State<BitsHomePage> {
137
137
138
138
List <String > playerNames = controllers.map ((c) => c.text.trim ()).toList ();
139
139
140
- context.go ('/social/games/ bitsgame' , extra: playerNames);
140
+ context.go ('/social/bitsgame' , extra: playerNames);
141
141
}
142
142
143
143
@override
Original file line number Diff line number Diff line change 1
1
import 'dart:math' ;
2
2
3
3
import 'package:flutter/material.dart' ;
4
+ import 'package:go_router/go_router.dart' ;
4
5
import 'package:online/pages/games/bits/bits_card.dart' ;
5
6
6
- import '/services/app_navigator.dart' ;
7
7
import '/theme/theme.dart' ;
8
8
import 'bits_model.dart' ;
9
9
@@ -145,7 +145,7 @@ class _BitsGameState extends State<BitsGame> {
145
145
),
146
146
),
147
147
AnimatedButton (
148
- onTap: AppNavigator .pop ,
148
+ onTap: () => context. go ( '/social' ) ,
149
149
scale: 0.9 ,
150
150
childBuilder: (context, hover, pointerDown) {
151
151
return ThemedIcon (
You can’t perform that action at this time.
0 commit comments