mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-13 01:10:31 -07:00
[Bugfix] Alertdialog.adaptive was causing issues.
This commit is contained in:
parent
d362f1a039
commit
e0a2c8a3eb
15 changed files with 91 additions and 126 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue