Skip to content

Commit

Permalink
Added the support for older version
Browse files Browse the repository at this point in the history
  • Loading branch information
KirlosYousef committed Sep 13, 2024
1 parent 13a3b52 commit 168f5f8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// swift-tools-version: 6.0
// swift-tools-version: 5.4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "OnboardMate",
platforms: [
.iOS(.v16)
.iOS(.v14)
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
Expand Down
2 changes: 1 addition & 1 deletion Sources/OnboardMate/Views/OnboardMateView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public struct OnboardMateView: View {
}
.tabViewStyle(PageTabViewStyle())
.indexViewStyle(PageIndexViewStyle(backgroundDisplayMode: .always))
.foregroundStyle(Color(.systemBackground))
.foregroundColor(Color(.systemBackground))
.animation(.easeInOut, value: currentScreen)
.transition(.slide)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal struct ActionButton: View {
.padding()
.background(
RoundedRectangle(cornerRadius: 12)
.foregroundStyle(actionButtonColor)
.foregroundColor(actionButtonColor)
)
.padding()
.frame(height: 48)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal struct NextScreenButton: View {
.padding()
.background(
Circle()
.foregroundStyle(color)
.foregroundColor(color)
)
.padding()
.frame(width: 48, height: 48)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ internal struct TextLabels: View {
if let primaryText {
Text(primaryText)
.font(.title2)
.bold()
.foregroundStyle(Color(.label))
.fontWeight(.bold)
.foregroundColor(Color(.label))
}

Spacer()
Expand Down

0 comments on commit 168f5f8

Please sign in to comment.