diff --git a/lib/main.dart b/lib/main.dart index 85be6c5..dd410c0 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -7,12 +7,10 @@ import 'package:nekoya_flutter/screens/login.dart'; import 'package:nekoya_flutter/screens/register.dart'; import 'package:nekoya_flutter/screens/payment.dart'; import 'package:nekoya_flutter/components/menu.dart'; -import 'package:nekoya_flutter/utils/url_strategy.dart'; import 'package:nekoya_flutter/utils/navigation_auth.dart'; void main() { WidgetsFlutterBinding.ensureInitialized(); - usePathUrlStrategy(); SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]).then((_) { runApp(const Nekoya()); }); diff --git a/lib/utils/url_strategy.dart b/lib/utils/url_strategy.dart deleted file mode 100644 index c86a8de..0000000 --- a/lib/utils/url_strategy.dart +++ /dev/null @@ -1 +0,0 @@ -export 'url_strategy_noop.dart' if (dart.library.html) 'url_strategy_web.dart'; \ No newline at end of file diff --git a/lib/utils/url_strategy_noop.dart b/lib/utils/url_strategy_noop.dart deleted file mode 100644 index 5295ed3..0000000 --- a/lib/utils/url_strategy_noop.dart +++ /dev/null @@ -1,3 +0,0 @@ -void usePathUrlStrategy() { - // noop -} \ No newline at end of file diff --git a/lib/utils/url_strategy_web.dart b/lib/utils/url_strategy_web.dart deleted file mode 100644 index a384516..0000000 --- a/lib/utils/url_strategy_web.dart +++ /dev/null @@ -1,5 +0,0 @@ -import 'package:flutter_web_plugins/flutter_web_plugins.dart'; - -void usePathUrlStrategy() { - setUrlStrategy(PathUrlStrategy()); -} \ No newline at end of file