Skip to content

Commit f8cc827

Browse files
committed
give proper labels to widgets
1 parent 3d5a52e commit f8cc827

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

app/src/main/AndroidManifest.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@
105105
<receiver
106106
android:name=".helpers.MyWidgetTorchProvider"
107107
android:exported="true"
108-
android:icon="@drawable/ic_flashlight">
108+
android:icon="@drawable/ic_flashlight"
109+
android:label="@string/app_launcher_name">
109110
<intent-filter>
110111
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
111112
</intent-filter>
@@ -118,7 +119,8 @@
118119
<receiver
119120
android:name=".helpers.MyWidgetBrightDisplayProvider"
120121
android:exported="true"
121-
android:icon="@drawable/ic_bright_display">
122+
android:icon="@drawable/ic_bright_display"
123+
android:label="@string/bright_display">
122124
<intent-filter>
123125
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
124126
</intent-filter>

0 commit comments

Comments
 (0)