aboutsummaryrefslogtreecommitdiff
path: root/mediapicker/src/main/kotlin/ca
diff options
context:
space:
mode:
authorAllan Wang <allanwang@google.com>2019-07-27 21:10:18 -0700
committerAllan Wang <allanwang@google.com>2019-07-27 21:10:18 -0700
commit0bab0561f071fca253b75fbcdae453dbd8790cab (patch)
treef7b4f407bd1790de37c2b6280bec777697662eb0 /mediapicker/src/main/kotlin/ca
parentcb88398bdd995339ca484721d422ba42e028d423 (diff)
downloadkau-0bab0561f071fca253b75fbcdae453dbd8790cab.tar.gz
kau-0bab0561f071fca253b75fbcdae453dbd8790cab.tar.bz2
kau-0bab0561f071fca253b75fbcdae453dbd8790cab.zip
Fix imports
Diffstat (limited to 'mediapicker/src/main/kotlin/ca')
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerCore.kt3
1 files changed, 0 insertions, 3 deletions
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerCore.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerCore.kt
index d21b33f..dceb1df 100644
--- a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerCore.kt
+++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaPickerCore.kt
@@ -46,7 +46,6 @@ import com.bumptech.glide.Glide
import com.bumptech.glide.RequestManager
import com.mikepenz.fastadapter.GenericItem
import com.mikepenz.fastadapter.adapters.ItemAdapter
-import com.mikepenz.iconics.dsl.ExperimentalIconicsDSL
import com.mikepenz.iconics.dsl.iconicsDrawable
import com.mikepenz.iconics.typeface.IIcon
import com.mikepenz.iconics.typeface.library.googlematerial.GoogleMaterial
@@ -88,11 +87,9 @@ abstract class MediaPickerCore<T : GenericItem>(
/**
* Create error tile for a given item
*/
- @ExperimentalIconicsDSL
fun getErrorDrawable(context: Context) =
getIconDrawable(context, GoogleMaterial.Icon.gmd_error, accentColor)
- @ExperimentalIconicsDSL
fun getIconDrawable(context: Context, iicon: IIcon, color: Int): Drawable {
val sizePx = computeViewSize(context)
return context.iconicsDrawable(iicon) {