Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 040effac authored by Qinmei Du's avatar Qinmei Du Committed by Android (Google) Code Review
Browse files

Merge "Stop showing the set as default/use once confirmation page if the...

Merge "Stop showing the set as default/use once confirmation page if the selected entry already belongs to default provider"
parents df667b48 1c1ee327
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -125,7 +125,9 @@ class CreateCredentialViewModel(

  fun onEntrySelectedFromMoreOptionScreen(activeEntry: ActiveEntry) {
    uiState = uiState.copy(
      currentScreenState = CreateScreenState.MORE_OPTIONS_ROW_INTRO,
      currentScreenState = if (
        activeEntry.activeProvider.id == UserConfigRepo.getInstance().getDefaultProviderId()
      ) CreateScreenState.CREATION_OPTION_SELECTION else CreateScreenState.MORE_OPTIONS_ROW_INTRO,
      activeEntry = activeEntry
    )
  }