mirror of
https://github.com/bitwarden/android.git
synced 2025-12-11 04:39:19 -06:00
PM-24303: Master password reprompt fix (#5620)
This commit is contained in:
parent
cf896d6bf1
commit
1799d0b716
@ -206,7 +206,10 @@ private fun AutofillSelectionDialog(
|
||||
onAutofillAndSaveItemClick(data.cipherId)
|
||||
}
|
||||
|
||||
else -> Unit
|
||||
is MasterPasswordRepromptData.OverflowItem -> Unit
|
||||
is MasterPasswordRepromptData.ViewItem -> {
|
||||
onViewItemClick(data.cipherId, data.itemType)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -240,8 +243,13 @@ private fun AutofillSelectionDialog(
|
||||
BitwardenBasicDialogRow(
|
||||
text = stringResource(id = BitwardenString.view),
|
||||
onClick = {
|
||||
onDismissRequest()
|
||||
onViewItemClick(displayItem.id, displayItem.itemType)
|
||||
selectionCallback(
|
||||
displayItem,
|
||||
MasterPasswordRepromptData.ViewItem(
|
||||
cipherId = displayItem.id,
|
||||
itemType = displayItem.itemType,
|
||||
),
|
||||
)
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user