fix: All license dialogs should look the same
This commit is contained in:
		
							parent
							
								
									415aa098af
								
							
						
					
					
						commit
						fc304edc31
					
				| @ -64,12 +64,17 @@ 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( |  | ||||||
|                                       padding: const EdgeInsets.all(16), |  | ||||||
|                                     child: Text(licenseText), |                                     child: Text(licenseText), | ||||||
|                                   ), |                                   ), | ||||||
|  |                                   actions: [ | ||||||
|  |                                     TextButton( | ||||||
|  |                                       onPressed: () { | ||||||
|  |                                         Navigator.of(context).pop(); | ||||||
|  |                                       }, | ||||||
|  |                                       child: Text(t.about.close), | ||||||
|  |                                     ), | ||||||
|                                   ], |                                   ], | ||||||
|                                 ); |                                 ); | ||||||
|                               }, |                               }, | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user