From 70683038e4479e1c857ce16e44512cbd31a5b592 Mon Sep 17 00:00:00 2001 From: Sebastiano Barezzi Date: Sun, 20 Aug 2023 03:42:49 +0200 Subject: [PATCH] Glimpse: MediaFlow: Fix typo Change-Id: I81678b02aa158b3397bb85cb4fdb53c72de94d64 --- app/src/main/java/org/lineageos/glimpse/flow/MediaFlow.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/lineageos/glimpse/flow/MediaFlow.kt b/app/src/main/java/org/lineageos/glimpse/flow/MediaFlow.kt index 9a04d66..ce89876 100644 --- a/app/src/main/java/org/lineageos/glimpse/flow/MediaFlow.kt +++ b/app/src/main/java/org/lineageos/glimpse/flow/MediaFlow.kt @@ -83,7 +83,7 @@ class MediaFlow(private val context: Context, private val bucketId: Int?) : Quer val bucketIdIndex = it.getColumnIndex(MediaStore.MediaColumns.BUCKET_ID) val id = it.getLong(idIndex) - val buckedId = it.getInt(bucketIdIndex) + val bucketId = it.getInt(bucketIdIndex) val displayName = it.getString(displayNameIndex) val isFavorite = it.getInt(isFavoriteIndex) val isTrashed = it.getInt(isTrashedIndex) @@ -93,7 +93,7 @@ class MediaFlow(private val context: Context, private val bucketId: Int?) : Quer Media.fromMediaStore( id, - buckedId, + bucketId, displayName, isFavorite, isTrashed,