Skip to content

Commit

Permalink
little fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
lovejjfg committed Mar 20, 2018
1 parent 61211f7 commit 9113e07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ android {
}
buildTypes {
release {
shrinkResources false //default true
minifyEnabled false //default true
shrinkResources true //default true
minifyEnabled true //default true
signingConfig signingConfigs.release
debuggable true //default false
debuggable false //default false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField "boolean", "IS_DEBUG", "false"//default false
ndk {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import android.widget.ImageView
object GlideUtils {
fun into(url: String?, iv: ImageView?) {
try {
GlideApp.with(iv?.context)
GlideApp.with(iv!!.context!!)
.load(url)
.centerCrop()
.into(iv)
Expand Down

0 comments on commit 9113e07

Please sign in to comment.