remove the cursor extensions

This commit is contained in:
tibbi 2017-05-20 08:56:28 +02:00
parent 4351803f77
commit b2f9bbdf2c
2 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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))