[Bugfix] Alertdialog.adaptive was causing issues.

This commit is contained in:
PartyDonut 2024-10-03 14:14:05 +02:00
parent d362f1a039
commit e0a2c8a3eb
15 changed files with 91 additions and 126 deletions

View file

@ -14,7 +14,7 @@ void showAuthOptionsDialogue(
) {
showDialog(
context: context,
builder: (context) => AlertDialog.adaptive(
builder: (context) => AlertDialog(
scrollable: true,
icon: const Icon(IconsaxBold.lock_1),
title: Text(context.localized.appLockTitle(currentUser.name)),

View file

@ -13,7 +13,7 @@ Future<void> showDefaultAlertDialog(
) {
return showDialog(
context: context,
builder: (context) => AlertDialog.adaptive(
builder: (context) => AlertDialog(
title: Text(title),
content: content != null ? Text(content) : null,
actions: [
@ -47,7 +47,7 @@ Future<void> showDefaultActionDialog(
) {
return showDialog(
context: context,
builder: (context) => AlertDialog.adaptive(
builder: (context) => AlertDialog(
title: Text(title),
content: content != null ? Text(content) : null,
actions: [

View file

@ -35,7 +35,7 @@ class _PassCodeInputState extends ConsumerState<PassCodeInput> {
}
}
},
child: AlertDialog.adaptive(
child: AlertDialog(
scrollable: true,
content: Column(
mainAxisSize: MainAxisSize.min,