pomelo scraps

This commit is contained in:
lizzie 2026-03-31 01:53:04 +00:00
parent 7cdd35f934
commit c686e37b90
29 changed files with 2258 additions and 11 deletions

26
src/ios/NavView.swift Normal file
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)
}
}
}