File tree Expand file tree Collapse file tree 6 files changed +23
-11
lines changed
ViewRelated/ReusableViews/SwiftUI Components Expand file tree Collapse file tree 6 files changed +23
-11
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ parameters:
1515 default : false
1616
1717xcode_version : &xcode_version
18- xcode-version : " 12.5 .0"
18+ xcode-version : " 13.0 .0"
1919
2020iphone_test_device : &iphone_test_device
21- device : iPhone 11
22- ios-version : " 14.4 "
21+ device : iPhone 13
22+ ios-version : " 15.0 "
2323
2424ipad_test_device : &ipad_test_device
2525 device : iPad Air (4th generation)
26- ios-version : " 14.4 "
26+ ios-version : " 15.0 "
2727
2828commands :
2929 fix-image :
@@ -38,7 +38,7 @@ commands:
3838 echo "Manually added `/usr/local/bin` to the $PATH:"
3939 echo $PATH
4040 fi
41- chruby ruby-2.6.6
41+ chruby ruby-$(cat .ruby-version)
4242 gem install bundler
4343
4444 # Add support for fetching SPM packages from GitHub
Original file line number Diff line number Diff line change 1- 2.6 .4
1+ 2.7 .4
Original file line number Diff line number Diff line change 1- 12.5
1+ 13.0
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash -euo pipefail
22
3+ if [[ $ACTION == ' indexbuild' ]]; then
4+ echo " ℹ️: Skipping code generation in 'indexbuild' build. See https://github.com/mac-cain13/R.swift/issues/719#issuecomment-937733804 for more info."
5+ exit 0
6+ fi
7+
38DERIVED_PATH=${SOURCE_ROOT} /DerivedSources
49SCRIPT_PATH=${SOURCE_ROOT} /Credentials/replace_secrets.rb
510
Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ extension UITabBar {
1515 /// To fix it, we have to specifically set it in the `standardAppearance` object.
1616 ///
1717 appearance. standardAppearance = createWooTabBarAppearance ( )
18+
19+ /// This is needed because the tab bar background has the wrong color under iOS 15 (using Xcode 13).
20+ /// More: issue-5018
21+ ///
22+ if #available( iOS 15 . 0 , * ) {
23+ appearance. scrollEdgeAppearance = appearance. standardAppearance
24+ }
1825 }
1926
2027 /// Creates an appearance object for a tabbar with the default WC style.
Original file line number Diff line number Diff line change @@ -197,13 +197,13 @@ extension EnvironmentValues {
197197
198198private extension EnvironmentValues {
199199 var foregroundColor : Color ? {
200- get { self [ ForegroundColorKey] }
201- set { self [ ForegroundColorKey] = newValue }
200+ get { self [ ForegroundColorKey . self ] }
201+ set { self [ ForegroundColorKey . self ] = newValue }
202202 }
203203
204204 var linkColor : Color ? {
205- get { self [ LinkColorKey] }
206- set { self [ LinkColorKey] = newValue }
205+ get { self [ LinkColorKey . self ] }
206+ set { self [ LinkColorKey . self ] = newValue }
207207 }
208208}
209209
You can’t perform that action at this time.
0 commit comments