Introduce MaybeError type
This commit is contained in:
1 parent
d836b57d2a
commit
a60ed37cd4
16 files changed
+127
-93
No files matched your search
+1
-1
@@ -172,7 +172,7 @@ impl ScreenState {
|
||||
}
|
||||
|
||||
async fn load_web_backup(string: String) -> Result<bool, NotificationData> {
|
||||
let local = get_local_version().await;
|
||||
let local = get_local_version().await?;
|
||||
let web = get_web_version(string.as_str()).await?;
|
||||
info!("{} {}", local, web);
|
||||
if web > local {
|
||||
|
||||
Reference in new issue
Block a user