mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 10:20:25 +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
@@ -127,7 +127,7 @@ public final class InsightsDashboardDialogFragment extends DialogFragment {
|
||||
|
||||
viewModel = ViewModelProviders.of(this, factory).get(InsightsDashboardViewModel.class);
|
||||
|
||||
viewModel.getState().observe(this, state -> {
|
||||
viewModel.getState().observe(getViewLifecycleOwner(), state -> {
|
||||
updateInsecurePercent(state.getData());
|
||||
updateInsecureRecipients(state.getInsecureRecipients());
|
||||
updateUserAvatar(state.getUserAvatar());
|
||||
|
||||
@@ -79,7 +79,7 @@ public final class InsightsModalDialogFragment extends DialogFragment {
|
||||
final InsightsModalViewModel.Factory factory = new InsightsModalViewModel.Factory(repository);
|
||||
final InsightsModalViewModel viewModel = ViewModelProviders.of(this, factory).get(InsightsModalViewModel.class);
|
||||
|
||||
viewModel.getState().observe(this, state -> {
|
||||
viewModel.getState().observe(getViewLifecycleOwner(), state -> {
|
||||
updateInsecurePercent(state.getData());
|
||||
updateUserAvatar(state.getUserAvatar());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user