Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .xcode-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
26.0
26.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
26.1
26.2

right?

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ MISTICA_DESIGN_URL := https://raw.githubusercontent.com/Telefonica/mistica-desig

# Xcode
ifneq ($(origin GITHUB_ACTION),undefined)
export DEVELOPER_DIR=/Applications/Xcode_26.0.1.app/Contents/Developer
export DEVELOPER_DIR=/Applications/Xcode_26.1.app/Contents/Developer
endif

# Targets
Expand Down
3 changes: 2 additions & 1 deletion MisticaCatalog/Source/ColorsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ struct ColorsView: View {

var body: some View {
List {
let last = colors.last?.name ?? ""
ForEach(colors, id: \.name) { item in
Cell(
style: .fullwidth,
Expand All @@ -24,7 +25,7 @@ struct ColorsView: View {
description: item.color.hexString.uppercased(),
assetType: .roundImage(circle(with: item.color))
)
.shouldShowDivider(item.name != colors.last?.name)
.shouldShowDivider(item.name != last)
}
}
.misticaListStyle()
Expand Down
9 changes: 7 additions & 2 deletions MisticaCatalog/Source/MisticaCatalogApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,18 @@ struct MisticaCatalogApp: App {
buttonAppearance.normal.titleTextAttributes = [.foregroundColor: UIColor.clear]

let appearance = UINavigationBarAppearance()
appearance.configureWithOpaqueBackground()
if #available(iOS 26, *) {
appearance.configureWithTransparentBackground()
} else {
appearance.configureWithOpaqueBackground()
appearance.backgroundColor = .background
}

appearance.buttonAppearance = buttonAppearance
appearance.shadowColor = nil
appearance.shadowImage = nil
appearance.largeTitleTextAttributes[.font] = UIFont.systemFont(ofSize: 28, weight: .light)
appearance.titleTextAttributes[.font] = UIFont.systemFont(ofSize: 18, weight: .regular)
appearance.backgroundColor = .background

UINavigationBar.appearance().standardAppearance = appearance
UINavigationBar.appearance().scrollEdgeAppearance = appearance
Expand Down
4 changes: 2 additions & 2 deletions MisticaCatalog/SupportFiles/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIDesignRequiresCompatibility</key>
<true/>
<key>UIDesignRequiresCompatibility</key>
<false/>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ private struct MisticaTabViewStyle: ViewModifier {
public extension UITabBarAppearance {
static func applyMisticaStyle() {
let appearance = UITabBarAppearance()
appearance.configureWithTransparentBackground()
appearance.shadowImage = UIImage(color: .divider)
UITabBar.appearance().backgroundColor = .appBarBackground
if #available(iOS 26, *) {
appearance.configureWithDefaultBackground()
} else {
appearance.configureWithTransparentBackground()
appearance.shadowImage = UIImage(color: .divider)
UITabBar.appearance().backgroundColor = .appBarBackground
}

UITabBar.appearance().standardAppearance = appearance
UITabBar.appearance().isTranslucent = true
}
Expand Down