fix: add back password reset button (#1747)
This commit is contained in:
parent
2aacaa451f
commit
3e72ee8088
1 changed files with 17 additions and 0 deletions
|
|
@ -59,6 +59,23 @@ class PangeaLoginView extends StatelessWidget {
|
|||
loading: controller.loadingSignIn,
|
||||
enabled: controller.enabledSignIn,
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 6.0),
|
||||
child: TextButton(
|
||||
onPressed: controller.loadingSignIn
|
||||
? () {}
|
||||
: controller.passwordForgotten,
|
||||
style: TextButton.styleFrom(
|
||||
foregroundColor: Theme.of(context).colorScheme.error,
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text(L10n.of(context).passwordForgotten),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(20),
|
||||
child: Row(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue