Skip to content

Commit 20db49e

Browse files
author
himanshu goyal
committed
lint fixes
1 parent 001c599 commit 20db49e

File tree

2 files changed

+1
-41
lines changed

2 files changed

+1
-41
lines changed

lib/presentation/group/group_screen.dart

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff 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
}

lib/presentation/hike/cubit/location_cubit/location_cubit.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)