File tree Expand file tree Collapse file tree 2 files changed +1
-41
lines changed
hike/cubit/location_cubit Expand file tree Collapse file tree 2 files changed +1
-41
lines changed Original file line number Diff line number Diff line change @@ -369,44 +369,4 @@ class _GroupScreenState extends State<GroupScreen> {
369369 ),
370370 );
371371 }
372-
373- void _showLogoutDialog () {
374- showDialog (
375- context: context,
376- builder: (context) => AlertDialog (
377- shape: RoundedRectangleBorder (borderRadius: BorderRadius .circular (12 )),
378- title: Text ('Logout' , style: TextStyle (fontSize: 18. sp)),
379- content: Text (
380- 'Are you sure you want to logout?' ,
381- style: TextStyle (fontSize: 16. sp),
382- ),
383- actions: [
384- Row (
385- mainAxisAlignment: MainAxisAlignment .spaceEvenly,
386- children: [
387- HikeButton (
388- buttonWidth: 25. w,
389- buttonHeight: 5. h,
390- isDotted: true ,
391- onTap: () => context.router.maybePop (false ),
392- text: 'No' ,
393- textSize: 14. sp,
394- ),
395- HikeButton (
396- buttonWidth: 25. w,
397- buttonHeight: 5. h,
398- onTap: () {
399- context.router.replaceNamed ('/auth' );
400- localApi.deleteUser ();
401- context.read <AuthCubit >().googleSignOut ();
402- },
403- text: 'Yes' ,
404- textSize: 14. sp,
405- ),
406- ],
407- ),
408- ],
409- ),
410- );
411- }
412372}
Original file line number Diff line number Diff line change @@ -747,7 +747,7 @@ class LocationCubit extends Cubit<LocationState> {
747747 }
748748 }
749749
750- void _createUserMarker (UserEntity user, { bool isLeader = false } ) async {
750+ void _createUserMarker (UserEntity user) async {
751751 final markerId = MarkerId (user.id! );
752752 final markerPosition = locationToLatLng (user.location! );
753753
You can’t perform that action at this time.
0 commit comments