update commons and kotlin
This commit is contained in:
parent
5968fd0242
commit
0fadd3d6be
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue