Skip to content

Commit 5dbfaad

Browse files
committed
SwiftuiHelpers: remove unncessary comments
This should be squashed with adding the SwiftUI settings
1 parent 0a0e546 commit 5dbfaad

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Monal/Classes/SwiftuiHelpers.swift

-5
Original file line numberDiff line numberDiff line change
@@ -810,11 +810,6 @@ class SwiftuiInterface : NSObject {
810810
let host = UIHostingController(rootView:AnyView(EmptyView()))
811811
delegate.host = host
812812
host.rootView = AnyView(AddTopLevelNavigation(withDelegate: delegate, to: Settings(delegate: delegate)))
813-
/*
814-
host.modalPresentationStyle = .popover
815-
host.popoverPresentationController?.sourceItem = button
816-
host.preferredContentSize = host.sizeThatFits(in: CGSize(width: 400, height: 600))
817-
*/
818813
return host
819814
}
820815

0 commit comments

Comments
 (0)