build like this

This commit is contained in:
Remy Moll 2024-05-20 12:09:33 +02:00
parent 66fc4e7d33
commit ae394014dc
3 changed files with 3 additions and 8 deletions
.gitea/workflows
deployment
frontend/lib/modules

@ -8,14 +8,9 @@ name: Build and release APK
jobs: jobs:
build: build:
name: Build APK name: Build APK
runs-on: k8s runs-on: ubuntu-latest
steps: steps:
- name: Install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y xz-utils unzip
- uses: https://gitea.com/actions/checkout@v4 - uses: https://gitea.com/actions/checkout@v4
- uses: https://github.com/actions/setup-java@v4 - uses: https://github.com/actions/setup-java@v4

@ -22,7 +22,7 @@ class _BasePageState extends State<BasePage> {
}); });
} }
Widget currentView = MapPage(); Widget currentView = MainPage();
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final ThemeData theme = Theme.of(context); final ThemeData theme = Theme.of(context);
@ -51,7 +51,7 @@ class _BasePageState extends State<BasePage> {
// Update the state of the app // Update the state of the app
_onItemTapped(0); _onItemTapped(0);
// Then close the drawer // Then close the drawer
currentView = MapPage(); currentView = MainPage();
Navigator.pop(context); Navigator.pop(context);
}, },
), ),