pomelo scraps

This commit is contained in:
lizzie
2026-03-31 01:53:04 +00:00
parent f48e2f9647
commit 5f894ea6e5
29 changed files with 2258 additions and 11 deletions
+26
View File
@@ -0,0 +1,26 @@
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2024 Pomelo, Stossy11
// SPDX-License-Identifier: GPL-3.0-or-later
import SwiftUI
import AppUI
struct NavView: View {
@Binding var core: Core
@State private var selectedTab = 0
var body: some View {
TabView(selection: $selectedTab) {
LibraryView(core: $core)
.tabItem { Label("Library", systemImage: "rectangle.on.rectangle") }
.tag(0)
BootOSView(core: $core, currentnavigarion: $selectedTab)
.toolbar(.hidden, for: .tabBar)
.tabItem { Label("Boot OS", systemImage: "house") }
.tag(1)
SettingsView(core: core)
.tabItem { Label("Settings", systemImage: "gear") }
.tag(2)
}
}
}