mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-21 23:18:58 +02:00
pomelo scraps
This commit is contained in:
parent
7cdd35f934
commit
c686e37b90
29 changed files with 2258 additions and 11 deletions
26
src/ios/NavView.swift
Normal file
26
src/ios/NavView.swift
Normal 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)
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue