Skip to content

Commit 03d6033

Browse files
fix: šŸ› [JIRA:0] Remove extra .fiori concatenations in IllustratedMessage (SAP#1021)
Co-authored-by: dyongxu <61523257+dyongxu@users.noreply.github.com>
1 parent 7441376 commit 03d6033

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ā€ŽSources/FioriSwiftUICore/_FioriStyles/IllustratedMessageStyle.fiori.swiftā€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public struct IllustratedMessageFixedWidthButtonStyle: IllustratedMessageStyle {
276276
/// Vertical layout style of the Illustrated Message. All content is displayed in one column. This is the default layout style
277277
public extension IllustratedMessageStyle where Self == IllustratedMessageVerticalLayoutStyle {
278278
static var vertical: some IllustratedMessageStyle {
279-
IllustratedMessageVerticalLayoutStyle().concat(.fiori)
279+
IllustratedMessageVerticalLayoutStyle()
280280
}
281281
}
282282

@@ -299,23 +299,23 @@ public extension IllustratedMessageStyle where Self == IllustratedMessageMixedLa
299299
public extension IllustratedMessageStyle where Self == IllustratedMessageFlexibleButtonStyle {
300300
/// Flexible action button style of the Illustrated Message. The width of the primary action button is hugged and the secondary action button will take the rest of the container width.
301301
static var flexibleButton: some IllustratedMessageStyle {
302-
IllustratedMessageFlexibleButtonStyle().concat(.fiori)
302+
IllustratedMessageFlexibleButtonStyle()
303303
}
304304
}
305305

306306
/// Full width action button style of the Illustrated Message. The width of both action buttons will take the width of the container.
307307
public extension IllustratedMessageStyle where Self == IllustratedMessageFullWidthButtonStyle {
308308
/// Full width action button style of the Illustrated Message. The width of both action buttons will take the width of the container.
309309
static var fullWidthButton: some IllustratedMessageStyle {
310-
IllustratedMessageFullWidthButtonStyle().concat(.fiori)
310+
IllustratedMessageFullWidthButtonStyle()
311311
}
312312
}
313313

314314
/// Fixed width action button style of the Illustrated Message. The width of both action buttons is fixed.
315315
public extension IllustratedMessageStyle where Self == IllustratedMessageFixedWidthButtonStyle {
316316
/// Full width action button style of the Illustrated Message. The width of both action buttons is fixed
317317
static var fixedWidthButton: some IllustratedMessageStyle {
318-
IllustratedMessageFixedWidthButtonStyle().concat(.fiori)
318+
IllustratedMessageFixedWidthButtonStyle()
319319
}
320320
}
321321

0 commit comments

Comments
Ā (0)