mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 18:15:01 +02:00
Login is now working
This commit is contained in:
parent
a0ee82bb31
commit
6de4626239
5 changed files with 41 additions and 14 deletions
|
@ -6,6 +6,7 @@ const isWeb = Capacitor.getPlatform() == 'web'
|
|||
class DbService {
|
||||
constructor() { }
|
||||
|
||||
// Please dont use this, it is not implemented in ios (maybe key: primary value: any ?)
|
||||
save(db, key, value) {
|
||||
if (isWeb) return
|
||||
return AbsDatabase.saveFromWebview({ db, key, value }).then(() => {
|
||||
|
@ -15,6 +16,7 @@ class DbService {
|
|||
})
|
||||
}
|
||||
|
||||
// Please dont use this, it is not implemented in ios
|
||||
load(db, key) {
|
||||
if (isWeb) return null
|
||||
return AbsDatabase.loadFromWebview({ db, key }).then((data) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue