widgets: simplify layouts
Simplify the layouts used by widgets, moving the more version-specific attributes into settings.
This commit is contained in:
@@ -70,7 +70,7 @@ class FullWidgetForm : WidgetForm(R.layout.widget_full) {
|
||||
views.setCharSequence(
|
||||
R.id.widget_cover,
|
||||
"setContentDescription",
|
||||
context.getString(R.string.description_placeholder_cover)
|
||||
context.getString(R.string.description_no_cover)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ class SmallWidgetForm : WidgetForm(R.layout.widget_small) {
|
||||
views.setCharSequence(
|
||||
R.id.widget_cover,
|
||||
"setContentDescription",
|
||||
context.getString(R.string.description_placeholder_cover)
|
||||
context.getString(R.string.description_no_cover)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user