close user picker on list profiles

This commit is contained in:
Diogo
2024-08-27 17:53:55 +01:00
parent 15020a9841
commit 7b67e25733
@@ -41,6 +41,7 @@ struct UserPicker: View {
.onTapGesture {
showSettings = false
activeSheet = .currentProfile
userPickerVisible.toggle()
}
Spacer()
ForEach(usersToPreview) { u in
@@ -55,6 +56,7 @@ struct UserPicker: View {
.onTapGesture {
showSettings = false
activeSheet = .chatProfiles
}
}
.padding(.horizontal, 16)