[READ-ONLY] Mirror of https://github.com/probablykasper/kadium. App for staying ontop of YouTube channels' uploads kadium.kasper.space
linux macos notifications tauri windows youtube
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix notification identifiers

Kasper (Nov 19, 2023, 2:29 AM +0100) a7668e33 813a32bf

+4 -2
+1
CHANGELOG.md
··· 2 2 3 3 ## Next 4 4 - Fix some errors not being shown 5 + - Fix notification identifiers 5 6 6 7 ## 1.4.4 - 2023 Apr 3 7 8 - Fix blank screen
+3 -2
src-tauri/src/background.rs
··· 187 187 } 188 188 189 189 async fn check_channels(options: &IntervalOptions, interval_info: &IntervalInfo) { 190 + let identifier = &options.window.app_handle().config().tauri.bundle.identifier; 190 191 let window_visible = match options.window.is_visible() { 191 192 Ok(is_visible) => is_visible, 192 193 Err(e) => { 193 194 eprintln!("{}", e); 194 - let _ = Notification::new("error") 195 + Notification::new(identifier) 195 196 .title("Failed to check channels") 196 197 .body(e.to_string()) 197 198 .show() ··· 208 209 Err(e) => { 209 210 let title = format!("Error checking {}", channel.name); 210 211 eprintln!("{}: {}", title, e); 211 - Notification::new("error") 212 + Notification::new(identifier) 212 213 .title(title) 213 214 .body(e) 214 215 .show()