diff --git a/lib/features/config_option/overview/warp_options_widgets.dart b/lib/features/config_option/overview/warp_options_widgets.dart index a5b798a4..951bae41 100644 --- a/lib/features/config_option/overview/warp_options_widgets.dart +++ b/lib/features/config_option/overview/warp_options_widgets.dart @@ -34,12 +34,12 @@ class WarpOptionsTiles extends HookConsumerWidget { return Column( children: [ - SwitchListTile.adaptive( + SwitchListTile( title: Text(t.settings.config.enableWarp), value: options.enableWarp, onChanged: (value) async { if (!warpPrefaceCompleted) { - final agreed = await showAdaptiveDialog( + final agreed = await showDialog( context: context, builder: (context) => const WarpLicenseAgreementModal(), ); @@ -154,7 +154,7 @@ class WarpLicenseAgreementModal extends HookConsumerWidget { Widget build(BuildContext context, WidgetRef ref) { final t = ref.watch(translationsProvider); - return AlertDialog.adaptive( + return AlertDialog( title: Text(t.settings.config.warpConsent.title), content: Text.rich( t.settings.config.warpConsent.description(