Remove urlstrategy
This commit is contained in:
parent
1ec4f6e560
commit
05988a7627
4 changed files with 0 additions and 11 deletions
|
@ -7,12 +7,10 @@ import 'package:nekoya_flutter/screens/login.dart';
|
||||||
import 'package:nekoya_flutter/screens/register.dart';
|
import 'package:nekoya_flutter/screens/register.dart';
|
||||||
import 'package:nekoya_flutter/screens/payment.dart';
|
import 'package:nekoya_flutter/screens/payment.dart';
|
||||||
import 'package:nekoya_flutter/components/menu.dart';
|
import 'package:nekoya_flutter/components/menu.dart';
|
||||||
import 'package:nekoya_flutter/utils/url_strategy.dart';
|
|
||||||
import 'package:nekoya_flutter/utils/navigation_auth.dart';
|
import 'package:nekoya_flutter/utils/navigation_auth.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
usePathUrlStrategy();
|
|
||||||
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]).then((_) {
|
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]).then((_) {
|
||||||
runApp(const Nekoya());
|
runApp(const Nekoya());
|
||||||
});
|
});
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
export 'url_strategy_noop.dart' if (dart.library.html) 'url_strategy_web.dart';
|
|
|
@ -1,3 +0,0 @@
|
||||||
void usePathUrlStrategy() {
|
|
||||||
// noop
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
|
|
||||||
|
|
||||||
void usePathUrlStrategy() {
|
|
||||||
setUrlStrategy(PathUrlStrategy());
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue