From 7c4769701ce1600dfb12a83c093d78d13fd9a1cf Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 25 Feb 2017 16:38:45 +0100 Subject: [PATCH] store the sd card path at launching the app --- app/build.gradle | 2 +- .../com/simplemobiletools/gallery/activities/MainActivity.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 8ffaef2fd..40e18e1e6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,7 +32,7 @@ android { } dependencies { - compile 'com.simplemobiletools:commons:2.7.2' + compile 'com.simplemobiletools:commons:2.7.3' compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0' compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1' compile 'com.bignerdranch.android:recyclerview-multiselect:0.2' diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt index 61b9cedec..6335ea029 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MainActivity.kt @@ -63,6 +63,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener { directories_holder.setOnRefreshListener({ getDirectories() }) mDirs = ArrayList() + storeSDCardPath() } override fun onCreateOptionsMenu(menu: Menu): Boolean {