fix: recovery key text

This commit is contained in:
Prateek Sunal 2024-03-07 21:10:44 +05:30
parent 47d7238f2b
commit 666649d218
2 changed files with 3 additions and 4 deletions

View file

@ -137,7 +137,7 @@ class _RecoveryPageState extends State<RecoveryPage> {
padding: const EdgeInsets.symmetric(horizontal: 20),
child: Center(
child: Text(
"No recovery key?",
context.l10n.noRecoveryKeyTitle,
style: Theme.of(context)
.textTheme
.titleMedium!

View file

@ -1,5 +1,3 @@
import 'dart:math' as math;
import 'package:ente_auth/ente_theme_data.dart';
@ -65,7 +63,8 @@ class DynamicFAB extends StatelessWidget {
height: 56,
padding: const EdgeInsets.symmetric(horizontal: 20),
child: OutlinedButton(
onPressed: isFormValid! ? onPressedFunction as void Function()? : null,
onPressed:
isFormValid! ? onPressedFunction as void Function()? : null,
child: Text(buttonText!),
),
);