mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Auth redesign fixed Helper Text #264
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
},
|
||||
"registerInstead": "Don't have an account? Register now",
|
||||
"@registerInstead": {},
|
||||
"loginInstead": "Log in instead",
|
||||
"loginInstead": "Already have an account? Login",
|
||||
"@loginInstead": {},
|
||||
"labelWorkoutPlans": "Workout plans",
|
||||
"@labelWorkoutPlans": {
|
||||
|
||||
@@ -429,7 +429,9 @@ class _AuthCardState extends State<AuthCard> {
|
||||
Builder(
|
||||
key: const Key('toggleActionButton'),
|
||||
builder: (context) {
|
||||
final String text = AppLocalizations.of(context).registerInstead;
|
||||
final String text = _authMode != AuthMode.Signup
|
||||
? AppLocalizations.of(context).registerInstead
|
||||
: AppLocalizations.of(context).loginInstead;
|
||||
|
||||
return GestureDetector(
|
||||
onTap: () {
|
||||
|
||||
Reference in New Issue
Block a user