From 8f51e8fb9830403fa6d7f622bfb9ae02d7b77d62 Mon Sep 17 00:00:00 2001 From: liamcharger Date: Sun, 17 Mar 2024 23:24:50 -0400 Subject: [PATCH] Place rename TextField in ScrollView --- InfiniLink/Core/Home/RenameView.swift | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/InfiniLink/Core/Home/RenameView.swift b/InfiniLink/Core/Home/RenameView.swift index 5167ebf..756a1ea 100644 --- a/InfiniLink/Core/Home/RenameView.swift +++ b/InfiniLink/Core/Home/RenameView.swift @@ -53,14 +53,16 @@ struct RenameView: View { .padding() .frame(maxWidth: .infinity, alignment: .center) Divider() - VStack { - TextField("InfiniTime", text: $changedName) - .padding() - .background(Material.regular) - .clipShape(Capsule()) - Spacer() + ScrollView { + VStack { + TextField("InfiniTime", text: $changedName) + .padding() + .background(Material.regular) + .clipShape(Capsule()) + Spacer() + } + .padding() } - .padding() } .navigationBarBackButtonHidden() }