Added desktop app link to settings
This commit is contained in:
parent
1ced81352f
commit
b45af0eaf9
@ -101,6 +101,12 @@ component Settings(user *arn.User)
|
|||||||
Icon("chrome")
|
Icon("chrome")
|
||||||
span Get the Chrome Extension
|
span Get the Chrome Extension
|
||||||
|
|
||||||
|
.widget-input
|
||||||
|
label Desktop App:
|
||||||
|
button.action(data-action="installApp", data-trigger="click")
|
||||||
|
Icon("desktop")
|
||||||
|
span Get the Desktop App
|
||||||
|
|
||||||
.widget-input
|
.widget-input
|
||||||
label Android App:
|
label Android App:
|
||||||
a.button(href="https://www.youtube.com/watch?v=opyt4cw0ep8", target="_blank", rel="noopener")
|
a.button(href="https://www.youtube.com/watch?v=opyt4cw0ep8", target="_blank", rel="noopener")
|
||||||
|
@ -307,3 +307,8 @@ export function installExtension(arn: AnimeNotifier, button: HTMLElement) {
|
|||||||
let browser: any = window["chrome"]
|
let browser: any = window["chrome"]
|
||||||
browser.webstore.install()
|
browser.webstore.install()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Desktop app installation
|
||||||
|
export function installApp() {
|
||||||
|
alert("Open your browser menu > 'More tools' > 'Add to desktop' and enable 'Open as window'.")
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user