Skip to content

Commit a0538c9

Browse files
committed
🎨 (generic): replace state by details
1 parent 1ab0431 commit a0538c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/generic/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ bambloo.onMessage.addListener(msg => {
2828
presence.assets = {
2929
large_image: getFaviconUrl()
3030
}
31-
presence.state = document.title
32-
presence.details = getPageDescription() ?? `Browsing at ${window.location.origin}`
31+
presence.details = document.title
32+
presence.state = getPageDescription() || `Browsing at ${window.location.origin}`
3333

3434
bambloo.update(presence)
3535
})

0 commit comments

Comments
 (0)