AndroidAPS/app/src/main/java/info/nightscout/androidaps/activities/NoSplashAppCompatActivity.kt

21 lines
630 B
Kotlin
Raw Normal View History

2019-08-08 18:39:56 +02:00
package info.nightscout.androidaps.activities
2019-12-03 18:12:37 +01:00
import android.content.Context
2019-08-08 18:39:56 +02:00
import android.os.Bundle
2019-12-28 22:51:04 +01:00
import dagger.android.support.DaggerAppCompatActivity
2019-08-08 18:39:56 +02:00
import info.nightscout.androidaps.R
2019-12-03 18:12:37 +01:00
import info.nightscout.androidaps.utils.LocaleHelper
2019-08-08 18:39:56 +02:00
2019-12-28 22:51:04 +01:00
@Suppress("registered")
open class NoSplashAppCompatActivity : DaggerAppCompatActivity() {
2019-08-08 18:39:56 +02:00
public override fun onCreate(savedInstanceState: Bundle?) {
setTheme(R.style.AppTheme_NoActionBar)
super.onCreate(savedInstanceState)
}
2019-12-03 18:12:37 +01:00
public override fun attachBaseContext(newBase: Context) {
super.attachBaseContext(LocaleHelper.wrap(newBase))
}
2019-08-08 18:39:56 +02:00
}