mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4462 - Adjust layout params of select bookmark folder view
This commit is contained in:
parent
e958f9fca9
commit
ee443ac8a8
@ -26,7 +26,12 @@ class SelectBookmarkFolderAdapter(private val sharedViewModel: BookmarksSharedVi
|
||||
}
|
||||
|
||||
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): BookmarkFolderViewHolder {
|
||||
val view = LibrarySiteItemView(parent.context)
|
||||
val view = LibrarySiteItemView(parent.context).apply {
|
||||
layoutParams = ViewGroup.LayoutParams(
|
||||
ViewGroup.LayoutParams.MATCH_PARENT,
|
||||
ViewGroup.LayoutParams.WRAP_CONTENT
|
||||
)
|
||||
}
|
||||
|
||||
return BookmarkFolderViewHolder(view)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user