fix(auth): initialize AuthManager in custom application class (#172)

Closes #68. Redundant initialization in MainActivity has been removed.
This commit is contained in:
M57
2026-06-20 17:43:40 +03:00
committed by GitHub
parent a50628696f
commit 54a195bd94
3 changed files with 12 additions and 2 deletions
@@ -0,0 +1,11 @@
package com.m57.hermescontrol
import android.app.Application
import com.m57.hermescontrol.data.local.AuthManager
class HermesControlApp : Application() {
override fun onCreate() {
super.onCreate()
AuthManager.init(this)
}
}