This commit is contained in:
@@ -79,11 +79,17 @@ const webPlatform = {
|
||||
},
|
||||
windowControls: null,
|
||||
notifications: makeWebNotifications(),
|
||||
lifecycle: null,
|
||||
recording: null,
|
||||
updates: null,
|
||||
voiceService: null,
|
||||
systemBars: null,
|
||||
searchDB,
|
||||
// Backup importer needs native filesystem access for the SQLite
|
||||
// file + attachment tree, which the browser sandbox doesn't
|
||||
// provide. Null on web/Capacitor; the Import tab renders a
|
||||
// "requires desktop" placeholder in that case.
|
||||
importer: null,
|
||||
features: {
|
||||
hasWindowControls: false,
|
||||
hasScreenCapture: true,
|
||||
@@ -93,6 +99,8 @@ const webPlatform = {
|
||||
hasSystemBars: false,
|
||||
hasRecording: false,
|
||||
hasNotifications: typeof window !== 'undefined' && typeof window.Notification !== 'undefined',
|
||||
hasLifecycle: false,
|
||||
hasBackupImporter: false,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user