Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
_
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Clampet authored and Scott Clampet committed Apr 30, 2019
1 parent a8b323b commit 1eafeda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion fude_app/lib/pages/auth/login/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
Logo(),
model.resetLinkSent
? Text(
'check your email!',
'Make sure this is a valid email!',
style: TextStyle(
color: Theme.of(context).primaryColor),
)
Expand Down
16 changes: 5 additions & 11 deletions fude_app/lib/pages/auth/signup/signup.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter/scheduler.dart' show timeDilation;
import 'package:flutter/animation.dart';
import 'package:scoped_model/scoped_model.dart';
import 'package:fude/scoped-models/main.dart';
Expand Down Expand Up @@ -79,16 +78,12 @@ class _SignUpState extends State<SignUpPage> with TickerProviderStateMixin {
context: context,
builder: (BuildContext context) {
return AlertDialog(
title: Text('Oops!'),
backgroundColor: Theme.of(context).primaryColor,
title: Text(
'Oops!',
style: TextStyle(color: Theme.of(context).secondaryHeaderColor),
),
content: Text(userMessage),
actions: <Widget>[
FlatButton(
child: Text('Okay'),
onPressed: () {
Navigator.of(context).pop();
},
)
],
);
},
);
Expand All @@ -98,7 +93,6 @@ class _SignUpState extends State<SignUpPage> with TickerProviderStateMixin {
Widget build(BuildContext context) {
final double width = MediaQuery.of(context).size.width;
final double height = MediaQuery.of(context).size.height;
timeDilation = 0.4;
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.light);
return ScopedModelDescendant<MainModel>(
builder: (BuildContext context, Widget child, MainModel model) {
Expand Down

0 comments on commit 1eafeda

Please sign in to comment.