Skip to content

Commit

Permalink
removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
RunTerror committed May 8, 2024
1 parent 3b1e0a4 commit 5150b38
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:beacon/old/components/services/shared_preference_service.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';

Expand Down
1 change: 0 additions & 1 deletion lib/Bloc/config/graphql/graphql_config.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'dart:developer';
import 'package:beacon/Bloc/config/enviornment_config.dart';
import 'package:beacon/locator.dart';
import 'package:graphql_flutter/graphql_flutter.dart';
Expand Down
1 change: 0 additions & 1 deletion lib/old/components/create_join_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:beacon/locator.dart';
import 'package:beacon/old/components/services/validators.dart';
import 'package:beacon/old/components/hike_button.dart';
import 'package:beacon/old/components/utilities/constants.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/old/components/dialog_boxes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class DialogBoxes {
buttonHeight: 2.5.h,
buttonWidth: 8.w,
onTap: () => Navigator.of(context).pop(true),
// TODO
//
// onTap: () {
// navigationService.removeAllAndPush('/groupScreen', '/',
// arguments: GroupScreen(
Expand Down
4 changes: 2 additions & 2 deletions lib/old/components/hike_screen_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ class HikeScreenWidget extends ChangeNotifier {
? Fluttertoast.showToast(
msg:
'Only beacon holder has access to change the duration')
//TODO: enable this once backend has updated.
//Commented, since we dont have the neccessary mutation atm on backend to change the duration.
// todo enable this once backend has updated.
// Commented, since we dont have the neccessary mutation atm on backend to change the duration.
// : DialogBoxes.changeDurationDialog(context);
: Container();
},
Expand Down
1 change: 0 additions & 1 deletion lib/old/components/services/navigation_service.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:beacon/old/components/utilities/constants.dart';
import 'package:flutter/material.dart';

class NavigationService {
Expand Down
1 change: 0 additions & 1 deletion lib/old/components/view_model/group_screen_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import 'package:beacon/old/components/models/beacon/beacon.dart';
import 'package:beacon/old/components/view_model/base_view_model.dart';
import 'package:beacon/old/components/views/hike_screen.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';

class GroupViewModel extends BaseModel {
final formKeyCreate = GlobalKey<FormState>();
Expand Down
2 changes: 0 additions & 2 deletions lib/splash_screen.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import 'dart:async';

import 'package:auto_route/auto_route.dart';
import 'package:beacon/router.dart';
import 'package:beacon/old/components/views/hike_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
Expand Down

0 comments on commit 5150b38

Please sign in to comment.