feat: Integrate sync status indicators in app title bar and home screen
This commit is contained in:
+3
-4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user