Rewrite fully second db table into result
This commit is contained in:
1 parent
06bf9138c0
commit
8841a51897
11 files changed
+127
-74
No files matched your search
+2
-1
@@ -14,6 +14,7 @@ use std::time::Duration;
|
||||
use log::error;
|
||||
use crate::app::{fill_state, AppState};
|
||||
use crate::notification::{NotificationRequest, NotificationData};
|
||||
use crate::push_error;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum SyncMessage {
|
||||
@@ -64,7 +65,7 @@ impl NavigatedPage<SyncMessage> for SyncState {
|
||||
return Task::perform(first_sync(), |id| {
|
||||
match id {
|
||||
Ok(id) => RootMessage::Sync(IdReceived(id)),
|
||||
Err(err) => RootMessage::PushNotification(NotificationRequest::Error(err))
|
||||
Err(err) => push_error!(err)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user