mirror of
https://github.com/otaviocc/Triton.git
synced 2026-01-29 19:54: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(
|
||||
viewModel: viewModel
|
||||
)
|
||||
.frame(minWidth: 640, idealWidth: 640, maxWidth: 800)
|
||||
.environment(\.viewModelFactory, environment.viewModelFactory)
|
||||
.modelContainer(environment.modelContainer)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ struct EditPictureView: View {
|
|||
VStack {
|
||||
makeEditorView()
|
||||
}
|
||||
.frame(minWidth: 640, idealWidth: 640, maxWidth: 800)
|
||||
.toolbar {
|
||||
makeToolbarContent()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ struct UploadView: View {
|
|||
|
||||
var body: some View {
|
||||
makeContentView()
|
||||
.frame(minWidth: 640, idealWidth: 640, maxWidth: 800)
|
||||
.toolbar {
|
||||
makeToolbarContent()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue