Skip to content

Commit

Permalink
Use F5 to refresh subscriptions (#4399)
Browse files Browse the repository at this point in the history
* Use F5 to refresh subscriptions

* Add it in other spots as well
  • Loading branch information
MitchelPaulin authored Nov 28, 2023
1 parent 245fb12 commit 1838f1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default defineComponent({
switch (event.key) {
case 'r':
case 'R':
case 'F5':
if (!this.isLoading) {
this.$emit('refresh')
}
Expand Down
1 change: 1 addition & 0 deletions src/renderer/views/Popular/Popular.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default defineComponent({
switch (event.key) {
case 'r':
case 'R':
case 'F5':
if (!this.isLoading) {
this.fetchPopularInfo()
}
Expand Down
1 change: 1 addition & 0 deletions src/renderer/views/Trending/Trending.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export default defineComponent({
switch (event.key) {
case 'r':
case 'R':
case 'F5':
if (!this.isLoading) {
this.getTrendingInfo(true)
}
Expand Down

0 comments on commit 1838f1e

Please sign in to comment.