mirror of
https://github.com/standardnotes/app
synced 2026-10-20 21:03:15 -04:00
feat(encryption): refactor circular dependencies on services
This commit is contained in:
@@ -33,8 +33,9 @@ const createApplication = (
|
||||
const viewControllerManager = new ViewControllerManager(application, device)
|
||||
const archiveService = new ArchiveManager(application)
|
||||
const io = new IOService(platform === Platform.MacWeb || platform === Platform.MacDesktop)
|
||||
const autolockService = new AutolockService(application, new InternalEventBus())
|
||||
const themeService = new ThemeManager(application)
|
||||
const internalEventBus = new InternalEventBus()
|
||||
const autolockService = new AutolockService(application, internalEventBus)
|
||||
const themeService = new ThemeManager(application, internalEventBus)
|
||||
|
||||
application.setWebServices({
|
||||
viewControllerManager,
|
||||
|
||||
Reference in New Issue
Block a user