diff --git a/ElementX/Sources/Screens/ComposerToolbar/View/CompletionSuggestionView.swift b/ElementX/Sources/Screens/ComposerToolbar/View/CompletionSuggestionView.swift index f308e8fdfd..26c9e2a5d8 100644 --- a/ElementX/Sources/Screens/ComposerToolbar/View/CompletionSuggestionView.swift +++ b/ElementX/Sources/Screens/ComposerToolbar/View/CompletionSuggestionView.swift @@ -68,9 +68,8 @@ struct CompletionSuggestionView: View { .listRowInsets(.init(top: 0, leading: Constants.leadingPadding, bottom: 0, trailing: 0)) } .listStyle(PlainListStyle()) - .frame(height: - min(contentHeightForRowCount(Constants.maxVisibleRows), - contentHeightForRowCount(items.count))) + .frame(height: min(contentHeightForRowCount(Constants.maxVisibleRows), + contentHeightForRowCount(items.count))) .background(Color.compound.bgCanvasDefault) }