-
Notifications
You must be signed in to change notification settings - Fork 61
feat: 🎸 [HCPSDKFIORIUIKIT-2999] tool bar buttons update #1229
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
base: main
Are you sure you want to change the base?
Conversation
Update to fixed size for buttons in navigation bar.
let config = FioriButtonConfiguration(foregroundColor: foregroundColor, | ||
backgroundColor: Color.clear, | ||
font: .fiori(forTextStyle: .body, weight: .semibold), | ||
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),) |
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.
Comma Spacing Violation: There should be no space before and one after any comma. (comma)
let config = FioriButtonConfiguration(foregroundColor: foregroundColor, | ||
backgroundColor: Color.clear, | ||
font: .fiori(forTextStyle: .body, weight: .semibold), | ||
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),) |
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.
Comma Spacing Violation: There should be no space before and one after any comma. (comma)
let config = FioriButtonConfiguration(foregroundColor: foregroundColor, | ||
backgroundColor: Color.clear, | ||
font: .fiori(forTextStyle: .body, weight: .semibold), | ||
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),) |
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.
Comma Spacing Violation: There should be no space before and one after any comma. (comma)
let config = FioriButtonConfiguration(foregroundColor: foregroundColor, | ||
backgroundColor: Color.clear, | ||
font: .fiori(forTextStyle: .body, weight: .semibold), | ||
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),) |
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.
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),) | |
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0)) |
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.
The build failed with error msg:
❌ /Users/runner/work/cloud-sdk-ios-fiori/cloud-sdk-ios-fiori/Sources/FioriSwiftUICore/FioriButton/FioriButtonStyle.swift:262:111: unexpected ',' separator
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),)
^
Testing failed:
Unexpected ',' separator
Command SwiftCompile failed with a nonzero exit code
Testing cancelled because the build failed.
** TEST FAILED **
Update to fixed size for buttons in navigation bar.