Yattee v2 rewrite

This commit is contained in:
Arkadiusz Fal
2026-02-08 18:31:16 +01:00
parent 20d0cfc0c7
commit 05f921d605
1043 changed files with 163875 additions and 68430 deletions

View File

@@ -0,0 +1,25 @@
//
// SidebarAdaptableModifier.swift
// Yattee
//
// Navigation-related view modifiers.
//
import SwiftUI
// MARK: - Sidebar Adaptable Modifier
#if os(iOS)
struct SidebarAdaptableModifier: ViewModifier {
func body(content: Content) -> some View {
content.tabViewStyle(.sidebarAdaptable)
}
}
extension View {
/// Applies sidebar adaptable style.
func sidebarAdaptable() -> some View {
modifier(SidebarAdaptableModifier())
}
}
#endif