Skip to content

Commit

Permalink
fix: SwiftFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambrdctr committed Feb 5, 2025
1 parent d23f26a commit 907f349
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Sources/MyKSuite/Dashboard/SubscriptionPlusDetailsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct SubscriptionPlusDetailsView: View {
}

// Waiting for InAppPurchase

// HStack {
// Text("myKSuiteDashboardPaymentMethod", bundle: .module)
// .frame(maxWidth: .infinity, alignment: .leading)
Expand All @@ -45,7 +45,6 @@ struct SubscriptionPlusDetailsView: View {
// .foregroundStyle(ColorHelper.secondary)
// }


HStack(alignment: .top, spacing: 12) {
ImageHelper.information
.foregroundStyle(ColorHelper.secondary)
Expand Down
6 changes: 3 additions & 3 deletions Sources/MyKSuite/Utils/ColorHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ enum ColorHelper {

static let backgroundPrimary = Color(light: .white, dark: bat)
static let backgroundSecondary = Color(light: polarBear, dark: orca)

static let primary = Color(light: orca, dark: rabbit)
static let secondary = Color(light: elephant, dark: shark)

Expand All @@ -59,7 +59,7 @@ extension Color {
}

private init(light: UIColor, dark: UIColor) {
self.init(uiColor: UIColor(dynamicProvider: { traits in
self.init(uiColor: UIColor { traits in
switch traits.userInterfaceStyle {
case .light, .unspecified:
return light
Expand All @@ -70,6 +70,6 @@ extension Color {
@unknown default:
return light
}
}))
})
}
}

0 comments on commit 907f349

Please sign in to comment.