Skip to content

Commit 5101d90

Browse files
authored
Merge pull request #325 from uber/develop
Merge develop into main
2 parents 82762ce + f1f7e7a commit 5101d90

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/xcodebuild.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
pull_request:
3-
branches: [ master, 2.x ]
3+
branches: [ main, develop ]
44

55
jobs:
66
build:

Sources/UberCore/Colors.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ public extension UIColor {
3535

3636
static let uberButtonHighlightedDarkBackground: UIColor = UIColor(
3737
named: "UberButtonHighlightedDarkBackground",
38-
in: .module,
38+
in: .resource(for: UberButton.self),
3939
compatibleWith: nil
4040
) ?? UIColor.darkText
4141

4242
static let uberButtonHighlightedLightBackground: UIColor = UIColor(
4343
named: "UberButtonHighlightedLightBackground",
44-
in: .module,
44+
in: .resource(for: UberButton.self),
4545
compatibleWith: nil
4646
) ?? UIColor.darkText
4747

Sources/UberRides/RideRequestButton.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public class RideRequestButton: UberButton {
302302
}
303303

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

0 commit comments

Comments
 (0)