updated new flutter version
This commit is contained in:
@@ -177,8 +177,10 @@ class DesktopSetPasswordState extends State<DesktopSetPassword> {
|
||||
padding: EdgeInsets.only(right: 16.0, top: 16.0),
|
||||
child: Align(
|
||||
alignment: Alignment.centerRight,
|
||||
child: RaisedButton(
|
||||
color: Theme.of(context).primaryColor,
|
||||
child: ElevatedButton(
|
||||
style: ElevatedButton.styleFrom(
|
||||
primary: Theme.of(context).primaryColor,
|
||||
),
|
||||
child: Text(
|
||||
S.of(context).submit,
|
||||
style: TextStyle(
|
||||
@@ -276,7 +278,7 @@ class DesktopSetPasswordState extends State<DesktopSetPassword> {
|
||||
title: Text(S.of(context).success),
|
||||
content: Text(S.of(context).reset_password_success),
|
||||
actions: <Widget>[
|
||||
FlatButton(
|
||||
TextButton(
|
||||
child: Text(S.of(context).ok),
|
||||
onPressed: () {
|
||||
Routes.router.navigateTo(context, '/login', replace: true, clearStack: false);
|
||||
|
||||
Reference in New Issue
Block a user