diff --git a/README.md b/README.md index bc1f2fc..f750a34 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,13 @@ You can also reconnect to discord rich presence via the `Reconnect to Discord` c - Toggle whether or not to show **Connection Notices** +### Contributors + +#### @leoccyao + +- Added the disconnect feature +- Made the plugin much more user friendly + ### Issues If you have any issues or suggestions please create an **issue** or a **pull request**. diff --git a/manifest.json b/manifest.json index 052038a..eda6b75 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-discordrpc", "name": "Discord Rich Presence", - "version": "1.4.0", + "version": "1.5.0", "description": "Update your Discord Status to show your friends what you are working on in Obsidian. With Discord Rich Presence.", "author": "Luke Leppan", "authorUrl": "https://lukeleppan.com", diff --git a/package.json b/package.json index a384339..9de96fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-discordrpc", - "version": "1.4.0", + "version": "1.5.0", "description": "Update your Discord Status to show your friends what you are working on in Obsidian. With Discord Rich Presence.", "main": "main.js", "scripts": { diff --git a/src/status-bar.ts b/src/status-bar.ts index 7c0a7e1..1bed878 100644 --- a/src/status-bar.ts +++ b/src/status-bar.ts @@ -28,6 +28,10 @@ export class StatusBar { window.setTimeout(() => { this.statusBarEl.setText(""); }, timeout); + } else { + window.setTimeout(() => { + this.statusBarEl.setText(`\u{1F30D}`); + }, 5000); } } }