Skip to content

Commit 0fadd3d

Browse files
committed
update commons and kotlin
1 parent 5968fd0 commit 0fadd3d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ android {
3232
}
3333

3434
dependencies {
35-
compile 'com.simplemobiletools:commons:2.17.2'
35+
compile 'com.simplemobiletools:commons:2.20.1'
3636
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
3737
}
3838

3939
buildscript {
40-
ext.kotlin_version = '1.1.2-3'
40+
ext.kotlin_version = '1.1.2-5'
4141
repositories {
4242
mavenCentral()
4343
}

app/src/main/kotlin/com/simplemobiletools/camera/Preview.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ class Preview : ViewGroup, SurfaceHolder.Callback, MediaScannerConnection.OnScan
298298
if (config.isShowPreviewEnabled) {
299299
mIsPreviewShown = true
300300
if (!config.wasPhotoPreviewHintShown) {
301-
context.toast(R.string.click_to_resume_preview)
301+
mActivity.toast(R.string.click_to_resume_preview)
302302
config.wasPhotoPreviewHintShown = true
303303
}
304304
} else {

0 commit comments

Comments
 (0)