Skip to content

Commit

Permalink
Updated main.dart so it doesn't load login page and fixed a small t…
Browse files Browse the repository at this point in the history
…ypo in `adddestination.dart`
  • Loading branch information
Aryan-Dang committed Jul 17, 2021
1 parent 08aca04 commit 5d52134
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.destinations.destinations"
minSdkVersion 21
minSdkVersion 25
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
2 changes: 1 addition & 1 deletion lib/adddestination.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class _AddDestPageState extends State<AddDestPage> {
setState(() {
//TODO: store info from controllers

//Return to pervious destination list page
//Return to previous destination list page
Navigator.pop(context);
});
}
Expand Down
4 changes: 2 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'destinationpage.dart';
import 'login.dart';
//import 'login.dart';

void main() async {
WidgetsFlutterBinding.ensureInitialized();
Expand All @@ -27,7 +27,7 @@ class MyApp extends StatelessWidget {
// is not restarted.
primarySwatch: Colors.blue,
),
home: LoginPage(),//MyHomePage(title: 'Flutter Demo Home Page'),
home: /*LoginPage(),*/MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
Expand Down

0 comments on commit 5d52134

Please sign in to comment.