OTA Update attempt

This commit is contained in:
2026-03-11 22:28:38 +08:00
parent f8c79acbbc
commit 0bd2a94ece
12 changed files with 687 additions and 3 deletions
+9
View File
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart' show kIsWeb;
import '../theme/m3_motion.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
@@ -439,6 +440,14 @@ List<NavSection> _buildSections(String role) {
icon: Icons.lock_open,
selectedIcon: Icons.lock,
),
if (kIsWeb) ...[
NavItem(
label: 'App Update',
route: '/settings/app-update',
icon: Icons.system_update_alt,
selectedIcon: Icons.system_update,
),
],
NavItem(
label: 'Logout',
route: '',