mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Update registration for new restore flows.
This commit is contained in:
committed by
Greyson Parrelli
parent
aad2624bd5
commit
22c4e2d084
@@ -101,7 +101,7 @@ public abstract class BaseSvrPinFragment<ViewModel extends BaseSvrPinViewModel>
|
||||
@Override
|
||||
public void onPrepareOptionsMenu(@NonNull Menu menu) {
|
||||
if (SignalStore.svr().isRegistrationLockEnabled() ||
|
||||
SignalStore.svr().hasPin() ||
|
||||
SignalStore.svr().hasOptedInWithAccess() ||
|
||||
SignalStore.svr().hasOptedOut())
|
||||
{
|
||||
menu.clear();
|
||||
|
||||
@@ -115,7 +115,7 @@ public final class SvrSplashFragment extends Fragment {
|
||||
private void onCreatePin() {
|
||||
SvrSplashFragmentDirections.ActionCreateKbsPin action = SvrSplashFragmentDirections.actionCreateKbsPin();
|
||||
|
||||
action.setIsPinChange(SignalStore.svr().hasPin());
|
||||
action.setIsPinChange(SignalStore.svr().hasOptedInWithAccess());
|
||||
|
||||
SafeNavigation.safeNavigate(Navigation.findNavController(requireView()), action);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user