mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
Added Title to the Pic of the Day App Widget (#2758)
This commit is contained in:
parent
f7f88d52b6
commit
e14a9c17b2
2 changed files with 14 additions and 1 deletions
|
|
@ -61,6 +61,7 @@ public class PicOfDayAppWidget extends AppWidgetProvider {
|
|||
.subscribe(
|
||||
response -> {
|
||||
if (response != null) {
|
||||
views.setTextViewText(R.id.appwidget_title, response.getDisplayTitle());
|
||||
loadImageFromUrl(response.getImageUrl(), context, views, appWidgetManager, appWidgetId);
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue