mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
FileActionsBottomSheet: color loading animation with primary color
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
4523537587
commit
7cb85ec6a1
2 changed files with 1 additions and 2 deletions
|
@ -184,6 +184,7 @@ class FileActionsBottomSheet private constructor() : BottomSheetDialogFragment()
|
|||
if (state is FileActionsViewModel.UiState.Loading) {
|
||||
binding.bottomSheetLoading.isVisible = true
|
||||
binding.bottomSheetContent.isVisible = false
|
||||
viewThemeUtils.platform.colorCircularProgressBar(binding.bottomSheetLoading)
|
||||
} else {
|
||||
binding.bottomSheetLoading.isVisible = false
|
||||
binding.bottomSheetContent.isVisible = true
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<!-- TODO theme this! -->
|
||||
<com.google.android.material.progressindicator.CircularProgressIndicator
|
||||
android:indeterminate="true"
|
||||
android:id="@+id/bottom_sheet_loading"
|
||||
|
@ -82,7 +81,6 @@
|
|||
android:textAppearance="@style/TextAppearance.Material3.HeadlineSmall"
|
||||
tools:text="Test file name which is very very very very very long.pdf" />
|
||||
|
||||
<!-- TODO test scroll -->
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
Loading…
Reference in a new issue