mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Improve password forgotten route
This commit is contained in:
parent
1bf41bcc20
commit
bd78f7b198
@ -1,6 +1,7 @@
|
|||||||
import 'package:comunic/helpers/account_helper.dart';
|
import 'package:comunic/helpers/account_helper.dart';
|
||||||
import 'package:comunic/ui/routes/password_reset_route.dart';
|
import 'package:comunic/ui/routes/password_reset_route.dart';
|
||||||
import 'package:comunic/ui/widgets/dialogs/cancel_dialog_button.dart';
|
import 'package:comunic/ui/widgets/dialogs/cancel_dialog_button.dart';
|
||||||
|
import 'package:comunic/ui/widgets/login_routes_theme.dart';
|
||||||
import 'package:comunic/ui/widgets/safe_state.dart';
|
import 'package:comunic/ui/widgets/safe_state.dart';
|
||||||
import 'package:comunic/utils/input_utils.dart';
|
import 'package:comunic/utils/input_utils.dart';
|
||||||
import 'package:comunic/utils/intl_utils.dart';
|
import 'package:comunic/utils/intl_utils.dart';
|
||||||
@ -16,7 +17,8 @@ import 'package:flutter/rendering.dart';
|
|||||||
class ForgotPasswordRoute extends StatelessWidget {
|
class ForgotPasswordRoute extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return LoginRoutesTheme(
|
||||||
|
child: Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text(tr("Password forgotten")),
|
title: Text(tr("Password forgotten")),
|
||||||
),
|
),
|
||||||
@ -29,6 +31,7 @@ class ForgotPasswordRoute extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,6 +32,7 @@ class LoginRoutesTheme extends StatelessWidget {
|
|||||||
checkColor:
|
checkColor:
|
||||||
MaterialStateProperty.all(Config.get().splashBackgroundColor),
|
MaterialStateProperty.all(Config.get().splashBackgroundColor),
|
||||||
),
|
),
|
||||||
|
dialogBackgroundColor: Config.get().splashBackgroundColor,
|
||||||
primaryColor: Colors.white,
|
primaryColor: Colors.white,
|
||||||
backgroundColor: Config.get().splashBackgroundColor,
|
backgroundColor: Config.get().splashBackgroundColor,
|
||||||
disabledColor: Colors.grey,
|
disabledColor: Colors.grey,
|
||||||
|
Loading…
Reference in New Issue
Block a user