mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
fix: make itemDetails
nullable
This commit is contained in:
@@ -50,7 +50,7 @@ open class PasswordItemRecyclerAdapter(coroutineScope: CoroutineScope) :
|
||||
private val name: AppCompatTextView = itemView.findViewById(R.id.label)
|
||||
private val childCount: AppCompatTextView = itemView.findViewById(R.id.child_count)
|
||||
private val folderIndicator: AppCompatImageView = itemView.findViewById(R.id.folder_indicator)
|
||||
lateinit var itemDetails: ItemDetailsLookup.ItemDetails<String>
|
||||
var itemDetails: ItemDetailsLookup.ItemDetails<String>? = null
|
||||
|
||||
suspend fun bind(item: PasswordItem) {
|
||||
val parentPath = item.fullPathToParent.replace("(^/)|(/$)".toRegex(), "")
|
||||
|
Reference in New Issue
Block a user