34 lines
1.0 KiB
Kotlin
34 lines
1.0 KiB
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.auth.UserAuthFragment
|
|
|
|
class UserAuthActivity : ToolBarActivity() {
|
|
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
super.onCreate(savedInstanceState)
|
|
setNavigationTitle("已获得认证")
|
|
updateStatusBarColor(R.color.ui_surface, R.color.ui_surface)
|
|
}
|
|
|
|
override fun isAutoResetViewBackgroundEnabled(): Boolean = false
|
|
|
|
override fun onDarkModeChanged() {
|
|
super.onDarkModeChanged()
|
|
updateStatusBarColor(R.color.ui_surface, R.color.ui_surface)
|
|
}
|
|
|
|
companion object {
|
|
fun getIntent(context: Context?): Intent? {
|
|
return getTargetIntent(
|
|
context,
|
|
UserAuthActivity::class.java,
|
|
UserAuthFragment::class.java
|
|
)
|
|
}
|
|
}
|
|
} |