diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt index 410c54a17..9ecaec5d7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt @@ -5,6 +5,7 @@ import android.content.Intent import android.database.Cursor import android.net.Uri import android.provider.MediaStore +import com.simplemobiletools.commons.extensions.getStringValue import com.simplemobiletools.commons.extensions.humanizePath import com.simplemobiletools.gallery.activities.SettingsActivity import com.simplemobiletools.gallery.helpers.Config diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/cursor.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/cursor.kt deleted file mode 100644 index 125de9983..000000000 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/cursor.kt +++ /dev/null @@ -1,7 +0,0 @@ -package com.simplemobiletools.gallery.extensions - -import android.database.Cursor - -fun Cursor.getStringValue(key: String) = getString(getColumnIndex(key)) - -fun Cursor.getLongValue(key: String) = getLong(getColumnIndex(key))