Skip to content

Commit

Permalink
Merge branch 'release/1.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeleppan committed Jun 19, 2021
2 parents 6449500 + d73e9a0 commit 7255776
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 4 additions & 0 deletions src/status-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export class StatusBar {
window.setTimeout(() => {
this.statusBarEl.setText("");
}, timeout);
} else {
window.setTimeout(() => {
this.statusBarEl.setText(`\u{1F30D}`);
}, 5000);
}
}
}

0 comments on commit 7255776

Please sign in to comment.