Remove duplicate label from partition table RecyclerView
This commit is contained in:
parent
4b67f41c74
commit
95af3899d3
1 changed files with 0 additions and 6 deletions
|
@ -52,12 +52,6 @@ class PartitionTableRecyclerViewAdapter(private val dataset: List<Partition>) :
|
|||
kv.value.text = part.fsType.getString(layout.context)
|
||||
layout.part_data_grid.addView(kv)
|
||||
}
|
||||
if (part.fsLabel != null) {
|
||||
kv = li.inflate(R.layout.part_data_keyvalue, layout.part_data_grid, false) as LinearLayout
|
||||
kv.key.text = layout.context.getString(R.string.fs_label)
|
||||
kv.value.text = part.fsLabel
|
||||
layout.part_data_grid.addView(kv)
|
||||
}
|
||||
if (part.size != null) {
|
||||
kv = li.inflate(R.layout.part_data_keyvalue, layout.part_data_grid, false) as LinearLayout
|
||||
kv.key.text = layout.context.getString(R.string.part_size)
|
||||
|
|
Loading…
Reference in a new issue