Skip to content

Commit

Permalink
Merge branch 'develop' into bug/david/fix-type
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekTree0101 committed May 13, 2024
2 parents ac428ec + f02d599 commit 6652f6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Sources/SushiBelt/SushiBeltTrakerItem+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ 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
) + "%"
}

func defaultDescirption() -> String {
return "\(self.currentVisibleRatioPersentageString())\nObjective: \(self.objectiveVisibleRatioPersentageString())"
return "\(self.currentVisibleRatioPercentageString())\nObjective: \(self.objectiveVisibleRatioPercentageString())"
}

}

0 comments on commit 6652f6e

Please sign in to comment.