mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:11:45 +00:00
Various tweaks following code review
This commit is contained in:
committed by
Stefan Ceriu
parent
5f6edacc1a
commit
8b11727f19
@@ -69,8 +69,8 @@ struct HomeScreenViewState: BindableState {
|
||||
|
||||
var roomListMode: HomeScreenRoomListMode = .skeletons
|
||||
|
||||
var showStartChatFlowEnabled: Bool {
|
||||
ServiceLocator.shared.settings.startChatFlowFeatureFlag
|
||||
var startChatFlowEnabled: Bool {
|
||||
ServiceLocator.shared.settings.startChatFlowEnabled
|
||||
}
|
||||
|
||||
var visibleRooms: [HomeScreenRoom] {
|
||||
|
||||
@@ -103,7 +103,7 @@ struct HomeScreen: View {
|
||||
ToolbarItem(placement: .navigationBarLeading) {
|
||||
userMenuButton
|
||||
}
|
||||
if context.viewState.showStartChatFlowEnabled {
|
||||
if context.viewState.startChatFlowEnabled {
|
||||
ToolbarItemGroup(placement: .bottomBar) {
|
||||
Spacer()
|
||||
newRoomButton
|
||||
|
||||
Reference in New Issue
Block a user