mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Remove manually set envars as they're handled rust side now
This commit is contained in:
committed by
Stefan Ceriu
parent
97e57e6666
commit
ea08fad530
@@ -68,8 +68,6 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
|
|||||||
windowManager = WindowManager(appDelegate: appDelegate)
|
windowManager = WindowManager(appDelegate: appDelegate)
|
||||||
appMediator = AppMediator(windowManager: windowManager)
|
appMediator = AppMediator(windowManager: windowManager)
|
||||||
|
|
||||||
Self.setupEnvironmentVariables()
|
|
||||||
|
|
||||||
let appSettings = AppSettings()
|
let appSettings = AppSettings()
|
||||||
|
|
||||||
MXLog.configure(logLevel: appSettings.logLevel)
|
MXLog.configure(logLevel: appSettings.logLevel)
|
||||||
@@ -334,10 +332,6 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
|
|||||||
|
|
||||||
// MARK: - Private
|
// MARK: - Private
|
||||||
|
|
||||||
private static func setupEnvironmentVariables() {
|
|
||||||
setenv("RUST_BACKTRACE", "1", 1)
|
|
||||||
}
|
|
||||||
|
|
||||||
private static func setupServiceLocator(appSettings: AppSettings) {
|
private static func setupServiceLocator(appSettings: AppSettings) {
|
||||||
ServiceLocator.shared.register(userIndicatorController: UserIndicatorController())
|
ServiceLocator.shared.register(userIndicatorController: UserIndicatorController())
|
||||||
ServiceLocator.shared.register(appSettings: appSettings)
|
ServiceLocator.shared.register(appSettings: appSettings)
|
||||||
|
|||||||
Reference in New Issue
Block a user