feat: add "Files Navigation" experimental feature to Labs (#1125)
This commit is contained in:
@@ -26,6 +26,7 @@ import { makeObservable, observable } from 'mobx'
|
||||
import { PanelResizedData } from '@/Types/PanelResizedData'
|
||||
import { WebAppEvent } from './WebAppEvent'
|
||||
import { isDesktopApplication } from '@/Utils'
|
||||
import { storage, StorageKey } from '@/Services/LocalStorage'
|
||||
|
||||
type WebServices = {
|
||||
viewControllerManager: ViewControllerManager
|
||||
@@ -62,7 +63,7 @@ export class WebApplication extends SNApplication {
|
||||
defaultHost: defaultSyncServerHost,
|
||||
appVersion: deviceInterface.appVersion,
|
||||
webSocketUrl: webSocketUrl,
|
||||
supportsFileNavigation: window.enabledUnfinishedFeatures || false,
|
||||
supportsFileNavigation: storage.get(StorageKey.FilesNavigationEnabled) || false,
|
||||
})
|
||||
|
||||
makeObservable(this, {
|
||||
|
||||
Reference in New Issue
Block a user