Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Refactoring + New login page
Browse files Browse the repository at this point in the history
  • Loading branch information
Sehnryr committed Jan 29, 2022
1 parent 23fb03b commit 49c3700
Show file tree
Hide file tree
Showing 10 changed files with 486 additions and 241 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "eu.melois.aurion"
minSdkVersion 16
minSdkVersion 18
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
16 changes: 16 additions & 0 deletions assets/images/logo_hat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class _MyAppState extends State<MyApp> {
FocusScopeNode currentFocus = FocusScope.of(context);

if (!currentFocus.hasPrimaryFocus) {
FocusManager.instance.primaryFocus.unfocus();
FocusManager.instance.primaryFocus!.unfocus();
}
},
child: MaterialApp(
Expand Down Expand Up @@ -48,8 +48,6 @@ class _MyAppState extends State<MyApp> {
),
),
),
// home: HomeScreen(),
// home: MyHomePage(),
home: LoginScreen(),
),
);
Expand Down
14 changes: 7 additions & 7 deletions lib/src/common.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import 'package:flutter/material.dart';

final Color white = Color(0xFFEEEEEE);
final Color gray = Color(0xFF393E46);
final Color semiGray = Color(0xFF2e323d);
final Color darkGray = Color(0xFF222831);
final Color amber = Color(0xFFFF9810);
final Color semiAmber = Color(0xFF755532);
final Color semiRed = Color(0xFF844040);
const Color white = Color(0xFFEEEEEE);
const Color gray = Color(0xFF393E46);
const Color semiGray = Color(0xFF2e323d);
const Color darkGray = Color(0xFF222831);
const Color amber = Color(0xFFD7861A);
const Color semiAmber = Color(0xFF755532);
const Color semiRed = Color(0xFF844040);

final int weeksBehind = 3;
final int weeksAhead = 5;
Expand Down
Loading

0 comments on commit 49c3700

Please sign in to comment.