33 lines
917 B
Java
33 lines
917 B
Java
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.ExtensionsKt;
|
|
import com.gh.gamecenter.info.InfoWrapperFragment;
|
|
|
|
/**
|
|
* Created by khy on 10/04/18.
|
|
*/
|
|
|
|
public class InfoActivity extends ToolBarActivity {
|
|
|
|
@Override
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
ExtensionsKt.updateStatusBarColor(this, R.color.text_292929, R.color.white);
|
|
}
|
|
|
|
public static Intent getIntent(Context context) {
|
|
return getTargetIntent(context, InfoActivity.class, InfoWrapperFragment.class);
|
|
}
|
|
|
|
@Override
|
|
protected void onNightModeChange() {
|
|
super.onNightModeChange();
|
|
ExtensionsKt.updateStatusBarColor(this, R.color.text_292929, R.color.white);
|
|
}
|
|
}
|