Skip to content

Commit

Permalink
Merge pull request #325 from uber/develop
Browse files Browse the repository at this point in the history
Merge develop into main
  • Loading branch information
mohssenfathi authored Sep 23, 2024
2 parents 82762ce + f1f7e7a commit 5101d90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/xcodebuild.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
pull_request:
branches: [ master, 2.x ]
branches: [ main, develop ]

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions Sources/UberCore/Colors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ public extension UIColor {

static let uberButtonHighlightedDarkBackground: UIColor = UIColor(
named: "UberButtonHighlightedDarkBackground",
in: .module,
in: .resource(for: UberButton.self),
compatibleWith: nil
) ?? UIColor.darkText

static let uberButtonHighlightedLightBackground: UIColor = UIColor(
named: "UberButtonHighlightedLightBackground",
in: .module,
in: .resource(for: UberButton.self),
compatibleWith: nil
) ?? UIColor.darkText

Expand Down
2 changes: 1 addition & 1 deletion Sources/UberRides/RideRequestButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public class RideRequestButton: UberButton {
}

private func image(name: String) -> UIImage? {
UIImage(named: name, in: Bundle.module, compatibleWith: nil)
UIImage(named: name, in: .resource(for: RideRequestButton.self), compatibleWith: nil)
}
}

Expand Down

0 comments on commit 5101d90

Please sign in to comment.