Introduce MaybeError type

This commit is contained in:
micialware committed 2026-08-24 23:42:58 +03:00
1 parent d836b57d2a
commit a60ed37cd4
16 files changed
+127 -93

No files matched your search

+1 -1
View File
@@ -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 {