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