change the order at onCreate functions

This commit is contained in:
tibbi 2016-12-15 22:42:23 +01:00
parent 76ba55ad7d
commit cb94b0de99

View file

@ -23,10 +23,10 @@ open class BaseSimpleActivity : AppCompatActivity() {
lateinit var baseConfig: BaseConfig
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
baseConfig = BaseConfig.newInstance(applicationContext)
updateBackgroundColor()
updateActionbarColor()
super.onCreate(savedInstanceState)
}
override fun onOptionsItemSelected(item: MenuItem): Boolean {