mirror of
https://github.com/bitwarden/android.git
synced 2026-04-28 20:08:27 -05:00
PM-32353: Archive and Unarchive buttons should honor MP reprompt (#6546)
This commit is contained in:
@@ -190,7 +190,7 @@ sealed class ListingItemOverflowAction : Parcelable {
|
||||
@Parcelize
|
||||
data class ArchiveClick(val cipherId: String) : VaultAction() {
|
||||
override val title: Text get() = BitwardenString.archive_verb.asText()
|
||||
override val requiresPasswordReprompt: Boolean get() = false
|
||||
override val requiresPasswordReprompt: Boolean get() = true
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -199,7 +199,7 @@ sealed class ListingItemOverflowAction : Parcelable {
|
||||
@Parcelize
|
||||
data class UnarchiveClick(val cipherId: String) : VaultAction() {
|
||||
override val title: Text get() = BitwardenString.unarchive.asText()
|
||||
override val requiresPasswordReprompt: Boolean get() = false
|
||||
override val requiresPasswordReprompt: Boolean get() = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user