mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 22:55:46 +03:00
Fix border of disabled FAB
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
9710a8a863
commit
1b5d37b50c
1 changed files with 3 additions and 1 deletions
|
@ -588,7 +588,9 @@ public class ExtendedListFragment extends Fragment implements
|
|||
getActivity().runOnUiThread(() -> {
|
||||
if (visible) {
|
||||
mFabMain.show();
|
||||
ThemeUtils.tintDrawable(mFabMain.getBackground(), ThemeUtils.primaryColor(getContext()));
|
||||
int primaryColor = ThemeUtils.primaryColor(getContext());
|
||||
mFabMain.setBackgroundTintList(ColorStateList.valueOf(primaryColor));
|
||||
mFabMain.setRippleColor(primaryColor);
|
||||
} else {
|
||||
mFabMain.hide();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue