[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

@ -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: [