33 lines
990 B
Kotlin
33 lines
990 B
Kotlin
package com.gh.gamecenter
|
|
|
|
import android.content.Context
|
|
import android.content.Intent
|
|
import android.os.Bundle
|
|
import com.gh.gamecenter.common.base.activity.ToolBarActivity
|
|
import com.gh.gamecenter.common.utils.updateStatusBarColor
|
|
import com.halo.assistant.fragment.user.UserInfoFragment
|
|
|
|
class UserInfoActivity : ToolBarActivity() {
|
|
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
super.onCreate(savedInstanceState)
|
|
updateStatusBarColor(R.color.ui_surface, R.color.ui_surface)
|
|
}
|
|
|
|
companion object {
|
|
fun getIntent(context: Context?): Intent? {
|
|
return getTargetIntent(
|
|
context,
|
|
UserInfoActivity::class.java,
|
|
UserInfoFragment::class.java
|
|
)
|
|
}
|
|
}
|
|
|
|
override fun isAutoResetViewBackgroundEnabled(): Boolean = true
|
|
|
|
override fun onDarkModeChanged() {
|
|
super.onDarkModeChanged()
|
|
updateStatusBarColor(R.color.ui_surface, R.color.ui_surface)
|
|
}
|
|
} |