mirror of
https://github.com/yggdrasil-network/yggdrasil-ios.git
synced 2025-04-28 14:15:09 +03:00
Tweaks
This commit is contained in:
parent
0553f929f6
commit
2cb5eebcd2
1 changed files with 37 additions and 31 deletions
|
@ -23,6 +23,7 @@ struct Application: App {
|
||||||
var body: some Scene {
|
var body: some Scene {
|
||||||
WindowGroup {
|
WindowGroup {
|
||||||
NavigationSplitView {
|
NavigationSplitView {
|
||||||
|
ZStack {
|
||||||
List(selection: $selection) {
|
List(selection: $selection) {
|
||||||
NavigationLink(destination: StatusView()) {
|
NavigationLink(destination: StatusView()) {
|
||||||
HStack {
|
HStack {
|
||||||
|
@ -49,15 +50,20 @@ struct Application: App {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.listStyle(.sidebar)
|
//.listStyle(.sidebar)
|
||||||
.navigationSplitViewColumnWidth(200)
|
//.navigationSplitViewColumnWidth(200)
|
||||||
|
|
||||||
Image("YggdrasilLogo")
|
Image("YggdrasilLogo")
|
||||||
|
.renderingMode(.template)
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fit)
|
.aspectRatio(contentMode: .fit)
|
||||||
.foregroundColor(.primary)
|
.foregroundColor(.primary)
|
||||||
.opacity(0.1)
|
.opacity(0.1)
|
||||||
.padding(.all, 24.0)
|
.frame(maxWidth: 200, alignment: .bottom)
|
||||||
|
.padding(.all, 24)
|
||||||
|
}
|
||||||
|
.navigationSplitViewColumnWidth(200)
|
||||||
|
.listStyle(.sidebar)
|
||||||
} detail: {
|
} detail: {
|
||||||
StatusView()
|
StatusView()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue