|
|
|
@ -161,8 +161,8 @@ open class CustomField : RealmObject(), NameManageable, StaticRowRepresentableDa |
|
|
|
rows.add(CustomFieldRow.TYPE) |
|
|
|
rows.add(CustomFieldRow.TYPE) |
|
|
|
|
|
|
|
|
|
|
|
if (type == Type.LIST.ordinal && entries.size >= 0) { |
|
|
|
if (type == Type.LIST.ordinal && entries.size >= 0) { |
|
|
|
rows.add(CustomizableRowRepresentable(RowViewType.HEADER_TITLE, R.string.items_list)) |
|
|
|
|
|
|
|
if (entries.isNotEmpty()) { |
|
|
|
if (entries.isNotEmpty()) { |
|
|
|
|
|
|
|
rows.add(CustomizableRowRepresentable(RowViewType.HEADER_TITLE, R.string.items_list)) |
|
|
|
sortEntries() |
|
|
|
sortEntries() |
|
|
|
entries.forEach { customFieldEntry -> |
|
|
|
entries.forEach { customFieldEntry -> |
|
|
|
customFieldEntry.isMovable = sortCondition == Sort.DEFAULT.uniqueIdentifier |
|
|
|
customFieldEntry.isMovable = sortCondition == Sort.DEFAULT.uniqueIdentifier |
|
|
|
|