diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a3e175a..3c622c4 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -18,7 +18,7 @@ jobs:
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- flutter-version: '3.10.5'
+ flutter-version: '3.16.5'
- name: Install project dependencies
run: flutter pub get
- name: Build artifacts
@@ -50,7 +50,7 @@ jobs:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
- flutter-version: '3.10.5'
+ flutter-version: '3.16.5'
- run: flutter pub get
# - run: flutter test // lmao. Tests? Who needs it?
- run: flutter build apk --split-per-abi
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index bc8a9e7..309d1a5 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -28,7 +28,7 @@
-
+
diff --git a/lib/main.dart b/lib/main.dart
index b0899a9..9c29a23 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -25,6 +25,7 @@ void setAccentColor(Color color){
}
final router = GoRouter(
+ //initialLocation: "/",
routes: [
GoRoute(
path: "/",
@@ -47,6 +48,10 @@ final router = GoRouter(
builder: (_, __) => const CustomizationView(),
),
]
+ ),
+ GoRoute(
+ path: "/u/:userId",
+ builder: (_, __) => MainView(player: __.pathParameters['userId'])
)
],
);