File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ export default class Database {
259259 return state ;
260260 }
261261
262- async setAppState ( appState : AppState ) {
262+ async setAppState ( appState : Partial < AppState > ) {
263263 if ( appState . defaultNotificationUrl )
264264 await this . put ( "Options" , { key : "defaultUrl" , value : appState . defaultNotificationUrl } ) ;
265265 if ( appState . defaultNotificationTitle || appState . defaultNotificationTitle === "" )
@@ -525,7 +525,7 @@ export default class Database {
525525 return await Database . singletonInstance . getServiceWorkerState ( ) ;
526526 }
527527
528- static async setAppState ( appState : AppState ) {
528+ static async setAppState ( appState : Partial < AppState > ) {
529529 return await Database . singletonInstance . setAppState ( appState ) ;
530530 }
531531
You can’t perform that action at this time.
0 commit comments