Skip to content

Commit 055d8ab

Browse files
UX: change read and unread icons to match FreshRSS'
1 parent 9df5ca1 commit 055d8ab

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

app/src/main/java/com/readrops/app/item/components/ItemScreenBottomBar.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ fun ItemScreenBottomBar(
5555
Icon(
5656
painter = painterResource(
5757
id = if (state.isRead)
58-
R.drawable.ic_remove_done
59-
else R.drawable.ic_done_all
58+
R.drawable.ic_read
59+
else R.drawable.ic_unread
6060
),
6161
tint = tint,
6262
contentDescription = null

app/src/main/java/com/readrops/app/timelime/components/TimelineItem.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ fun TimelineItem(
102102
Icon(
103103
painter = painterResource(
104104
id = if (itemWithFeed.item.isRead) {
105-
R.drawable.ic_remove_done
105+
R.drawable.ic_read
106106
} else {
107-
R.drawable.ic_done_all
107+
R.drawable.ic_unread
108108
}
109109
),
110110
contentDescription = null,
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24"
5+
android:viewportHeight="24">
6+
<path
7+
android:pathData="M21.176,8.308 L12,2 2.824,8.308A1.901,1.901 117.746,0 0,2 9.875V20c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V9.875A1.901,1.901 62.254,0 0,21.176 8.308ZM20,9.5 L12,14.5 4,9.5 12,4ZM20,20H4v-8.5l8,5 8,-5z"
8+
android:fillColor="@android:color/white"/>
9+
</vector>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24"
5+
android:viewportHeight="24">
6+
<path
7+
android:pathData="m22,9.5c0,-1.1 -0.9,-2 -2,-2L4,7.5c-1.1,0 -2,0.9 -2,2L2,20c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2zM20,9.5 L12,14.5 4,9.5zM20,20L4,20v-8.5l8,5 8,-5z"
8+
android:fillColor="@android:color/white"/>
9+
</vector>

0 commit comments

Comments
 (0)