mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Enable lock screen fallback when biometric authentications may not work.
Fixes #9407 Fixes #10166
This commit is contained in:
committed by
Cody Henthorne
parent
be4b687e48
commit
3c4252a933
@@ -128,7 +128,7 @@ public final class MediaOverviewPageFragment extends Fragment
|
||||
MediaOverviewViewModel viewModel = MediaOverviewViewModel.getMediaOverviewViewModel(requireActivity());
|
||||
|
||||
viewModel.getSortOrder()
|
||||
.observe(this, sorting -> {
|
||||
.observe(getViewLifecycleOwner(), sorting -> {
|
||||
if (sorting != null) {
|
||||
this.sorting = sorting;
|
||||
adapter.setShowFileSizes(sorting.isRelatedToFileSize());
|
||||
@@ -139,7 +139,7 @@ public final class MediaOverviewPageFragment extends Fragment
|
||||
|
||||
if (gridMode == GridMode.FOLLOW_MODEL) {
|
||||
viewModel.getDetailLayout()
|
||||
.observe(this, this::setDetailView);
|
||||
.observe(getViewLifecycleOwner(), this::setDetailView);
|
||||
} else {
|
||||
setDetailView(gridMode == GridMode.FIXED_DETAIL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user