diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2675879..ac14350 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,11 @@ on: jobs: build: name: Run PR-CI - runs-on: macOS-latest + runs-on: macos-14 env: SCHEME: SushiBelt SDK: iphonesimulator - DESTINATION: platform=iOS Simulator,name=iPhone 13 Pro,OS=latest - + DESTINATION: platform=iOS Simulator,name=iPhone 15,OS=17.2 steps: - name: Checkout the Git repository uses: actions/checkout@v2 diff --git a/Sources/SushiBelt/SushiBeltTrakerItem+Extension.swift b/Sources/SushiBelt/SushiBeltTrakerItem+Extension.swift index 6d2eebb..219d799 100644 --- a/Sources/SushiBelt/SushiBeltTrakerItem+Extension.swift +++ b/Sources/SushiBelt/SushiBeltTrakerItem+Extension.swift @@ -11,14 +11,14 @@ import Foundation extension SushiBeltTrackerItem { - func currentVisibleRatioPersentageString() -> String { + func currentVisibleRatioPercentageString() -> String { return String( format: "%.2f", self.currentVisibleRatio * 100 ) + "%" } - func objectiveVisibleRatioPersentageString() -> String { + func objectiveVisibleRatioPercentageString() -> String { return String( format: "%.2f", self.objectiveVisibleRatio * 100 @@ -26,7 +26,7 @@ extension SushiBeltTrackerItem { } func defaultDescirption() -> String { - return "\(self.currentVisibleRatioPersentageString())\nObjective: \(self.objectiveVisibleRatioPersentageString())" + return "\(self.currentVisibleRatioPercentageString())\nObjective: \(self.objectiveVisibleRatioPercentageString())" } }