feat: Integrate sync status indicators in app title bar and home screen

This commit is contained in:
2026-05-18 19:17:59 +02:00
parent 989d307fd6
commit 0e144cf7fd
5 changed files with 34 additions and 48 deletions
+3 -4
View File
@@ -705,6 +705,8 @@ class _NotesAppState extends State<NotesApp>
repository: repository,
onOpenSettings: _openSettings,
onVaultInvalid: _resetLocalVaultData,
syncStatus: _syncStatus,
syncErrorMessage: _syncErrorMessage,
)
: SettingsScreen(
key: const ValueKey<String>('settings-screen'),
@@ -749,10 +751,7 @@ class _NotesAppState extends State<NotesApp>
child: SafeArea(
child: Column(
children: [
AppTitleBar(
syncStatus: _syncStatus,
syncErrorMessage: _syncErrorMessage,
),
const AppTitleBar(),
Expanded(
child: AnimatedSwitcher(
duration: _screenTransitionDuration,