@complexify/expo-mapbox-navigation 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -97,31 +97,16 @@ class CustomDayStyle: StandardDayStyle {
|
|
97
97
|
// Floating buttons customization
|
98
98
|
if let floatingBgColor = customFloatingButtonsBackgroundColor {
|
99
99
|
FloatingButton.appearance(for: traitCollection).backgroundColor = floatingBgColor
|
100
|
-
OverviewButton.appearance(for: traitCollection).backgroundColor = floatingBgColor
|
101
|
-
MuteButton.appearance(for: traitCollection).backgroundColor = floatingBgColor
|
102
|
-
FeedbackButton.appearance(for: traitCollection).backgroundColor = floatingBgColor
|
103
100
|
}
|
104
101
|
if let floatingTextColor = customFloatingButtonsTextColor {
|
105
102
|
FloatingButton.appearance(for: traitCollection).tintColor = floatingTextColor
|
106
|
-
OverviewButton.appearance(for: traitCollection).tintColor = floatingTextColor
|
107
|
-
MuteButton.appearance(for: traitCollection).tintColor = floatingTextColor
|
108
|
-
FeedbackButton.appearance(for: traitCollection).tintColor = floatingTextColor
|
109
103
|
}
|
110
104
|
if let floatingBorderColor = customFloatingButtonsBorderColor {
|
111
105
|
FloatingButton.appearance(for: traitCollection).borderColor = floatingBorderColor
|
112
|
-
OverviewButton.appearance(for: traitCollection).borderColor = floatingBorderColor
|
113
|
-
MuteButton.appearance(for: traitCollection).borderColor = floatingBorderColor
|
114
|
-
FeedbackButton.appearance(for: traitCollection).borderColor = floatingBorderColor
|
115
106
|
}
|
116
107
|
|
117
108
|
// Set default values for floating buttons
|
118
109
|
FloatingButton.appearance(for: traitCollection).borderWidth = 1.0
|
119
110
|
FloatingButton.appearance(for: traitCollection).cornerRadius = 4.0
|
120
|
-
OverviewButton.appearance(for: traitCollection).borderWidth = 1.0
|
121
|
-
OverviewButton.appearance(for: traitCollection).cornerRadius = 4.0
|
122
|
-
MuteButton.appearance(for: traitCollection).borderWidth = 1.0
|
123
|
-
MuteButton.appearance(for: traitCollection).cornerRadius = 4.0
|
124
|
-
FeedbackButton.appearance(for: traitCollection).borderWidth = 1.0
|
125
|
-
FeedbackButton.appearance(for: traitCollection).cornerRadius = 4.0
|
126
111
|
}
|
127
112
|
}
|