fix: All license dialogs should look the same

This commit is contained in:
PapaTutuWawa 2023-07-16 18:18:18 +02:00
parent 415aa098af
commit fc304edc31

View File

@ -64,12 +64,17 @@ class AboutPage extends StatelessWidget {
await showDialog<void>(
context: context,
builder: (context) {
return SimpleDialog(
children: [
Padding(
padding: const EdgeInsets.all(16),
return AlertDialog(
content: SingleChildScrollView(
child: Text(licenseText),
),
actions: [
TextButton(
onPressed: () {
Navigator.of(context).pop();
},
child: Text(t.about.close),
),
],
);
},