An open-source cross-platform alternative to AirDrop
feat: restore icon size to 24 after flutter upgrade
Tien Do Nam40dcf0edb407
diff --git a/app/lib/pages/selected_files_page.dart b/app/lib/pages/selected_files_page.dartindex 9642d4be..c88bb881 100644--- a/app/lib/pages/selected_files_page.dart+++ b/app/lib/pages/selected_files_page.dart@@ -105,6 +105,7 @@ class SelectedFilesPage extends StatelessWidget {TextButton(style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface,+ iconSize: 24,),onPressed: () async {final result = await showDialog<String>(@@ -120,6 +121,7 @@ class SelectedFilesPage extends StatelessWidget {TextButton(style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface,+ iconSize: 24,),onPressed: () {final currCount = ref.read(selectedSendingFilesProvider).length;diff --git a/app/lib/pages/send_page.dart b/app/lib/pages/send_page.dartindex 5d055b58..047bfc06 100644--- a/app/lib/pages/send_page.dart+++ b/app/lib/pages/send_page.dart@@ -224,6 +224,7 @@ class _SendPageState extends State<SendPage> with Refena {TextButton(style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.warning,+ iconSize: 24,),onPressed: () async => showDialog(context: context,diff --git a/app/lib/pages/tabs/settings_tab.dart b/app/lib/pages/tabs/settings_tab.dartindex 0cc3dfe4..a2b92fce 100644--- a/app/lib/pages/tabs/settings_tab.dart+++ b/app/lib/pages/tabs/settings_tab.dart@@ -327,7 +327,7 @@ class SettingsTab extends StatelessWidget {Tooltip(message: t.general.start,child: TextButton(- style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface),+ style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface, iconSize: 24),onPressed: () => vm.onTapStartServer(context),child: const Icon(Icons.play_arrow),),@@ -336,7 +336,7 @@ class SettingsTab extends StatelessWidget {Tooltip(message: t.general.restart,child: TextButton(- style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface),+ style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface, iconSize: 24),onPressed: () => vm.onTapRestartServer(context),child: const Icon(Icons.refresh),),@@ -344,7 +344,7 @@ class SettingsTab extends StatelessWidget {Tooltip(message: t.general.stop,child: TextButton(- style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface),+ style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface, iconSize: 24),onPressed: vm.serverState == null ? null : vm.onTapStopServer,child: const Icon(Icons.stop),),diff --git a/app/lib/pages/web_share_page.dart b/app/lib/pages/web_share_page.dartindex 2c337d6c..2a02ced0 100644--- a/app/lib/pages/web_share_page.dart+++ b/app/lib/pages/web_share_page.dart@@ -300,6 +300,7 @@ class _WebSharePageState extends State<WebSharePage> with Refena {},style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface,+ iconSize: 24,),child: const Icon(Icons.close),),@@ -309,6 +310,7 @@ class _WebSharePageState extends State<WebSharePage> with Refena {},style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface,+ iconSize: 24,),child: const Icon(Icons.check_circle),),diff --git a/app/lib/widget/custom_icon_button.dart b/app/lib/widget/custom_icon_button.dartindex d22ffb09..a3597ccc 100644--- a/app/lib/widget/custom_icon_button.dart+++ b/app/lib/widget/custom_icon_button.dart@@ -16,6 +16,7 @@ class CustomIconButton extends StatelessWidget {return TextButton(style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface,+ iconSize: 24,tapTargetSize: MaterialTapTargetSize.shrinkWrap,minimumSize: Size.zero,shape: const CircleBorder(),diff --git a/app/lib/widget/dialogs/favorite_dialog.dart b/app/lib/widget/dialogs/favorite_dialog.dartindex fe89e480..147dae0a 100644--- a/app/lib/widget/dialogs/favorite_dialog.dart+++ b/app/lib/widget/dialogs/favorite_dialog.dart@@ -94,7 +94,7 @@ class _FavoritesDialogState extends State<FavoritesDialog> with Refena {),),TextButton(- style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface),+ style: TextButton.styleFrom(foregroundColor: Theme.of(context).colorScheme.onSurface, iconSize: 24),onPressed: _fetching ? null : () async => await _showDeviceDialog(favorite),child: const Icon(Icons.edit),),