Skip to content

Commit

Permalink
Place rename TextField in ScrollView
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcharger committed Mar 18, 2024
1 parent 8c42212 commit 8f51e8f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions InfiniLink/Core/Home/RenameView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 8f51e8f

Please sign in to comment.