commit | f28dcc0082c2847d008fe8f4b1a6d3a5dcc8e7e3 | [log] [tgz] |
---|---|---|
author | Sebastiano Barezzi <seba@sebaubuntu.dev> | Mon Jan 08 01:50:12 2024 +0100 |
committer | Sebastiano Barezzi <seba@sebaubuntu.dev> | Mon Jan 08 01:50:12 2024 +0100 |
tree | 650e0b99658b3e1b59d0f7c862c79c8d0fcadf76 | |
parent | 2e0a146dfba71973fc70b4ad427fb6acc8788693 [diff] |
Glimpse: AlbumsFlow: Give reels' album a name Change-Id: Ifcacd0424999d9d216750343a932076341aa8259
diff --git a/app/src/main/java/org/lineageos/glimpse/flow/AlbumsFlow.kt b/app/src/main/java/org/lineageos/glimpse/flow/AlbumsFlow.kt index 6ba0cab..51226f5 100644 --- a/app/src/main/java/org/lineageos/glimpse/flow/AlbumsFlow.kt +++ b/app/src/main/java/org/lineageos/glimpse/flow/AlbumsFlow.kt
@@ -112,6 +112,10 @@ R.string.album_trash ) + MediaStoreBuckets.MEDIA_STORE_BUCKET_REELS.id -> context.getString( + R.string.album_reels + ) + else -> bucketDisplayName ?: Build.MODEL }, Media.fromMediaStore(
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5a51ff9..38f2423 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml
@@ -20,6 +20,7 @@ <!-- Album buckets --> <string name="album_favorites">Favorites</string> <string name="album_trash">Trash</string> + <string name="album_reels">Reels</string> <!-- Album thumbnail --> <plurals name="album_thumbnail_items">