chore: switch to async rpc framework, fix buttons

This commit is contained in:
HorizonCode committed 2026-05-21 21:24:17 +02:00
1 parent afdd74175a
commit 6fdb2376a1
6 files changed
+128 -98

No files matched your search

+1 -1
View File
@@ -878,7 +878,7 @@ pub struct PresenceButton {
pub async fn presence_update_button(button: PresenceButton) {
match (button.text.as_deref(), button.url.as_deref()) {
(Some(text), Some(url)) => presence::set_button(text, url),
_ => presence::clear_button(),
_ =>presence::clear_button()
}
}