-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ABW-1750] MFA: list and create securitystructures from settings #580
Changes from 1 commit
d9a2398
dbfd1f6
9d649e2
5e8444b
3e23ea7
41b0793
37bac1f
25dc654
8e83716
df8aafe
e860ef4
5f7784a
92f5288
13b287c
9d6e665
078614b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,15 +26,9 @@ extension DebugInspectProfile { | |
|
||
public var body: some SwiftUI.View { | ||
WithViewStore(store, observe: \.viewState, send: { .view($0) }) { viewStore in | ||
GeometryReader { geoProxy in | ||
ZStack { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does the ZStack affect the layout? It shouldn't be needed otherwise, since There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Aha, didn't see the .toolbar, then it makes sense. I would prefer Group since we're not using z here. Or put the main bit in a |
||
if let json = viewStore.json, viewStore.mode == .rawJSON { | ||
let xOffset: CGFloat = 50 | ||
JSONView(jsonString: json) | ||
.frame( | ||
width: geoProxy.frame(in: .global).width + xOffset, | ||
height: geoProxy.frame(in: .global).height | ||
) | ||
.offset(x: -xOffset) | ||
} else { | ||
ProfileView(profile: viewStore.profile) | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for brackets, it's an OptionSet