Fix sulog prompt always shows

This commit is contained in:
LoveSy 2023-06-22 00:43:23 +08:00 committed by John Wu
parent 0a85ef61c3
commit f3304b482c

View File

@ -29,8 +29,13 @@
tools:listitem="@layout/item_log_access_md2"
tools:paddingTop="24dp" />
<ProgressBar
style="@style/WidgetFoundation.ProgressBar.Indeterminate"
goneUnless="@{viewModel.loading}"
android:layout_marginTop="@dimen/l1" />
<FrameLayout
gone="@{!viewModel.items.empty}"
gone="@{viewModel.loading || !viewModel.items.empty}"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center">