diff --git a/v4/app/src/main/java/exchange/dydx/trading/DydxApplication.kt b/v4/app/src/main/java/exchange/dydx/trading/DydxApplication.kt index 5fd39ab7..79d0fea1 100644 --- a/v4/app/src/main/java/exchange/dydx/trading/DydxApplication.kt +++ b/v4/app/src/main/java/exchange/dydx/trading/DydxApplication.kt @@ -5,14 +5,19 @@ import android.os.StrictMode import com.facebook.stetho.Stetho import dagger.hilt.android.HiltAndroidApp import exchange.dydx.abacus.jvm.AbacusAndroid +import exchange.dydx.platformui.designSystem.theme.ThemeSettings import exchange.dydx.trading.common.AppConfig import exchange.dydx.trading.common.logger.DydxLogger import timber.log.Timber +import javax.inject.Inject @HiltAndroidApp class DydxApplication : Application() { - private val logger = DydxLogger() + // Do not remove - this is used to trigger initialization via Dagger + // This is an anti-pattern, do not copy. + @Inject lateinit var themeSettings: ThemeSettings + @Inject lateinit var logger: DydxLogger override fun onCreate() { super.onCreate()