update commons and kotlin

This commit is contained in:
tibbi 2017-06-14 22:41:14 +02:00
parent 5968fd0242
commit 0fadd3d6be
2 changed files with 3 additions and 3 deletions

View File

@ -32,12 +32,12 @@ android {
} }
dependencies { dependencies {
compile 'com.simplemobiletools:commons:2.17.2' compile 'com.simplemobiletools:commons:2.20.1'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
} }
buildscript { buildscript {
ext.kotlin_version = '1.1.2-3' ext.kotlin_version = '1.1.2-5'
repositories { repositories {
mavenCentral() mavenCentral()
} }

View File

@ -298,7 +298,7 @@ class Preview : ViewGroup, SurfaceHolder.Callback, MediaScannerConnection.OnScan
if (config.isShowPreviewEnabled) { if (config.isShowPreviewEnabled) {
mIsPreviewShown = true mIsPreviewShown = true
if (!config.wasPhotoPreviewHintShown) { if (!config.wasPhotoPreviewHintShown) {
context.toast(R.string.click_to_resume_preview) mActivity.toast(R.string.click_to_resume_preview)
config.wasPhotoPreviewHintShown = true config.wasPhotoPreviewHintShown = true
} }
} else { } else {