Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
feat: allow downloading on mobile (closes koel/koel#1405)
Browse files Browse the repository at this point in the history
  • Loading branch information
phanan committed Apr 13, 2022
1 parent 7372097 commit 853396f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/stores/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ export const sharedStore = {
async init (): Promise<SharedState> {
this.state = Object.assign(this.state, await http.get<SharedState>('data'))

// Don't allow downloading on mobile devices
this.state.allowDownload = this.state.allowDownload && !isMobile.any

// Always disable YouTube integration on mobile.
this.state.useYouTube = this.state.useYouTube && !isMobile.phone

Expand Down

2 comments on commit 853396f

@Error257
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dayyyyyyyyym

@Error257
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

js/stores/shared.ts

Please sign in to comment.