support new fields in adding
All checks were successful
Release / meta (push) Successful in 9s
Release / linux-build (push) Successful in 6m54s
Release / android-build (push) Successful in 23m30s
Release / release-master (push) Successful in 30s
Release / release-dev (push) Successful in 32s

This commit is contained in:
2025-12-31 18:23:37 +00:00
parent e1ad1ea685
commit 1c15546b66
9 changed files with 1302 additions and 252 deletions

View File

@@ -21,8 +21,7 @@ class LogbookPage extends StatelessWidget {
children: [
TabBar(
onTap: (index) {
final dest =
index == 0 ? '/logbook/entries' : '/logbook/trips';
final dest = index == 0 ? '/logbook/entries' : '/logbook/trips';
final current = GoRouterState.of(context).uri.path;
if (current != dest) {
context.go(dest);
@@ -34,12 +33,7 @@ class LogbookPage extends StatelessWidget {
],
),
Expanded(
child: TabBarView(
children: const [
LegsPage(),
TripsPage(),
],
),
child: TabBarView(children: const [LegsPage(), TripsPage()]),
),
],
),