Skip to content

Commit

Permalink
修复 隐藏状态栏失效
Browse files Browse the repository at this point in the history
  • Loading branch information
manondidi committed Mar 10, 2020
1 parent 05da117 commit 1445aea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'

android {
signingConfigs {
release {
Expand Down Expand Up @@ -50,7 +49,7 @@ dependencies {
implementation 'androidx.core:core-ktx:1.1.0'
implementation 'com.makeramen:roundedimageview:2.3.0'
implementation 'com.github.bumptech.glide:glide:4.10.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
kapt 'com.github.bumptech.glide:compiler:4.10.0'
implementation 'jp.wasabeef:glide-transformations:4.0.1'
implementation 'com.squareup.retrofit2:retrofit:2.7.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.2.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ abstract class BaseActivity<T : IBasePrensenter> : AppCompatActivity(), IBaseVie
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (!needTitle()) {
requestWindowFeature(Window.FEATURE_NO_TITLE)
supportActionBar?.hide()
} else {
supportActionBar?.setDisplayHomeAsUpEnabled(true)
}
Expand Down

0 comments on commit 1445aea

Please sign in to comment.