Use Compound List in more screens. (#2099)

* Use Compound List in room member details, secure backup, notification settings.

* Use ListRow in CreateRoomScreen.

* Fix ListRow layout when isWaiting && !isSelected.
This commit is contained in:
Doug
2023-11-17 17:07:27 +00:00
committed by GitHub
parent f717c7dba4
commit f2b4525d91
61 changed files with 188 additions and 218 deletions
@@ -92,7 +92,7 @@ struct RoomDetailsEditScreen: View {
.focused($focus, equals: .name)
} else {
ListRow(kind: .custom {
ListLabel.plain(title: context.viewState.nameRowTitle)
ListRowLabel.plain(title: context.viewState.nameRowTitle)
.listRowBackground(Color.clear)
})
}
@@ -111,7 +111,7 @@ struct RoomDetailsEditScreen: View {
.lineLimit(3...)
} else {
ListRow(kind: .custom {
ListLabel.plain(title: context.viewState.topicRowTitle)
ListRowLabel.plain(title: context.viewState.topicRowTitle)
.listRowBackground(Color.clear)
})
}