Support deleting alarms...
+1.0.0-rc
+
+* Fix many crashes
+* Faster UI updates after commands
+* Support UTF-8 in web config
+* Feature: quick-save button
+* Feature: search button (uses Spotify website)
+* Feature: alarm clocks
+* Feature: Last.fm scrobbling
+
+0.2.0
+
+* First binary release
+* Mac & Windows systray/menubar UI
+* Controls: Play/Pause/Skip/Select Device/Change Volume
+* Mac Touch Bar UI
+* Configure settings via web UI
if key == "cancel" {
return Err("Canceled by user.".to_string());
}
+ // Clear existing alarms
+ conf.delete(Some("alarms".to_owned()));
// are you kidding me??
let idx = key.chars().rev().take(1).collect::<Vec<char>>()[0].to_digit(10).unwrap_or(0) as usize;
let entry = entries.get_mut(idx).unwrap();