fix: update the preview images

This commit is contained in:
Prateek Sunal
2025-05-16 14:37:33 +05:30
parent 538a5df32d
commit 9b1eacf736
26 changed files with 6 additions and 8 deletions

View File

@@ -180,8 +180,7 @@ class EnteAlbumsWidgetProvider : HomeWidgetProvider() {
val drawable =
ContextCompat.getDrawable(
context,
R.drawable
.ic_home_widget_default
R.drawable.ic_albums_widget
)
val bitmap =
(drawable as BitmapDrawable).bitmap

View File

@@ -181,7 +181,7 @@ class EnteMemoryWidgetProvider : HomeWidgetProvider() {
ContextCompat.getDrawable(
context,
R.drawable
.ic_home_widget_default
.ic_memories_widget
)
val bitmap =
(drawable as BitmapDrawable).bitmap

View File

@@ -180,8 +180,7 @@ class EntePeopleWidgetProvider : HomeWidgetProvider() {
val drawable =
ContextCompat.getDrawable(
context,
R.drawable
.ic_home_widget_default
R.drawable.ic_people_widget
)
val bitmap =
(drawable as BitmapDrawable).bitmap

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -65,7 +65,7 @@
android:id="@+id/widget_placeholder"
android:layout_width="120dp"
android:layout_height="120dp"
android:src="@drawable/ic_home_widget_default"
android:src="@drawable/ic_albums_widget"
android:scaleType="fitCenter" />
<TextView

View File

@@ -65,7 +65,7 @@
android:id="@+id/widget_placeholder"
android:layout_width="120dp"
android:layout_height="120dp"
android:src="@drawable/ic_home_widget_default"
android:src="@drawable/ic_memories_widget"
android:scaleType="fitCenter" />
<TextView

View File

@@ -65,7 +65,7 @@
android:id="@+id/widget_placeholder"
android:layout_width="120dp"
android:layout_height="120dp"
android:src="@drawable/ic_home_widget_default"
android:src="@drawable/ic_people_widget"
android:scaleType="fitCenter" />
<TextView