Remove manually set envars as they're handled rust side now

This commit is contained in:
Stefan Ceriu
2024-05-31 12:06:40 +03:00
committed by Stefan Ceriu
parent 3993ab0ebf
commit 1d5429f0fc

View File

@@ -68,8 +68,6 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
windowManager = WindowManager(appDelegate: appDelegate)
appMediator = AppMediator(windowManager: windowManager)
Self.setupEnvironmentVariables()
let appSettings = AppSettings()
MXLog.configure(logLevel: appSettings.logLevel)
@@ -334,10 +332,6 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
// MARK: - Private
private static func setupEnvironmentVariables() {
setenv("RUST_BACKTRACE", "1", 1)
}
private static func setupServiceLocator(appSettings: AppSettings) {
ServiceLocator.shared.register(userIndicatorController: UserIndicatorController())
ServiceLocator.shared.register(appSettings: appSettings)