chore: add dynamic button for beatmap display

This commit is contained in:
HorizonCode committed 2026-05-21 14:48:10 +02:00
1 parent bde922ab9f
commit d2ae9e939f
3 files changed
+26

No files matched your search

+2
View File
@@ -16,4 +16,6 @@ export const updateStatus = async (status: {
});
export const updateUser = async (user: { username: string; id?: string | null }) =>
await invoke('presence_update_user', { user: { username: user.username, id: user.id } });
export const updateButton = async (button: { text?: string; url?: string }) =>
await invoke('presence_update_button', { button: button });
export const isConnected = async () => await invoke<boolean>('presence_is_connected');