mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 04:46:51 +01:00
Widget: sleep rendering update
This commit is contained in:
parent
a042d44cd0
commit
8ec9d0b2bd
@ -143,6 +143,8 @@ public class Widget extends AppWidgetProvider {
|
||||
|
||||
if (sleep < 1) {
|
||||
views.setViewVisibility(R.id.todaywidget_sleep_layout, View.GONE);
|
||||
} else {
|
||||
views.setViewVisibility(R.id.todaywidget_sleep_layout, View.VISIBLE);
|
||||
}
|
||||
|
||||
views.setTextViewText(R.id.todaywidget_steps, String.format("%1s", steps));
|
||||
|
Loading…
Reference in New Issue
Block a user