mirror of
https://github.com/otaviocc/Triton.git
synced 2026-01-30 04:04:27 +00:00
Move window sizes to Scenes
This commit is contained in:
parent
ef2ab718d7
commit
c837a2b788
3 changed files with 1 additions and 2 deletions
|
|
@ -42,6 +42,7 @@ struct UploadPictureScene: Scene {
|
||||||
UploadView(
|
UploadView(
|
||||||
viewModel: viewModel
|
viewModel: viewModel
|
||||||
)
|
)
|
||||||
|
.frame(minWidth: 640, idealWidth: 640, maxWidth: 800)
|
||||||
.environment(\.viewModelFactory, environment.viewModelFactory)
|
.environment(\.viewModelFactory, environment.viewModelFactory)
|
||||||
.modelContainer(environment.modelContainer)
|
.modelContainer(environment.modelContainer)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ struct EditPictureView: View {
|
||||||
VStack {
|
VStack {
|
||||||
makeEditorView()
|
makeEditorView()
|
||||||
}
|
}
|
||||||
.frame(minWidth: 640, idealWidth: 640, maxWidth: 800)
|
|
||||||
.toolbar {
|
.toolbar {
|
||||||
makeToolbarContent()
|
makeToolbarContent()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ struct UploadView: View {
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
makeContentView()
|
makeContentView()
|
||||||
.frame(minWidth: 640, idealWidth: 640, maxWidth: 800)
|
|
||||||
.toolbar {
|
.toolbar {
|
||||||
makeToolbarContent()
|
makeToolbarContent()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue