fix: also close torrent modal

you forget this thaunknown :>
This commit is contained in:
NoCrypt 2024-08-23 05:16:22 +07:00
parent 2c7218ee64
commit 56bf895e1a
4 changed files with 377 additions and 841 deletions

View file

@ -16,6 +16,8 @@ dependencies {
implementation project(':capacitor-device')
implementation project(':capacitor-local-notifications')
implementation project(':capacitor-status-bar')
implementation project(':capacitor-folder-picker')
implementation project(':capacitor-intent-uri')
implementation project(':capacitor-nodejs')
implementation project(':capacitor-plugin-safe-area')
implementation project(':capacitor-volume-control')

View file

@ -23,6 +23,12 @@ project(':capacitor-local-notifications').projectDir = new File('../../node_modu
include ':capacitor-status-bar'
project(':capacitor-status-bar').projectDir = new File('../../node_modules/@capacitor/status-bar/android')
include ':capacitor-folder-picker'
project(':capacitor-folder-picker').projectDir = new File('../../node_modules/capacitor-folder-picker/android')
include ':capacitor-intent-uri'
project(':capacitor-intent-uri').projectDir = new File('../../node_modules/capacitor-intent-uri/android')
include ':capacitor-nodejs'
project(':capacitor-nodejs').projectDir = new File('../../node_modules/capacitor-nodejs/android')

View file

@ -43,6 +43,11 @@
localStorage.setItem('torrent', '[]')
client.send('torrent', null)
}
onMount(() => {
window.addEventListener('popstate', e => {
$rss = null
})
})
</script>

File diff suppressed because it is too large Load diff