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