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 {
compile 'com.simplemobiletools:commons:2.17.2'
compile 'com.simplemobiletools:commons:2.20.1'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
buildscript {
ext.kotlin_version = '1.1.2-3'
ext.kotlin_version = '1.1.2-5'
repositories {
mavenCentral()
}

View File

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