feat(ios): tab tabanlı navigasyon ve okuma durumu takibi ekle

This commit is contained in:
2026-02-11 18:26:17 +03:00
parent 52212f015b
commit 362b9b7d1b
16 changed files with 976 additions and 442 deletions

View File

@@ -3,17 +3,25 @@ import SwiftUI
@MainActor
final class AppRouter: ObservableObject {
enum Tab: Hashable {
case library
case discover
case stats
case profile
}
enum Route: Hashable {
case addBooks
case category(name: String)
case detail(BookRemote)
}
@Published var isAuthenticated = false
@Published var selectedTab: Tab = .library
@Published var path: [Route] = []
func resetToHome() {
path.removeAll()
selectedTab = .library
}
}