You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
structConfirmSheet:View{varonBack:()->VoidvarsaveDraft:()->Void@Bindingvarsaving:Boolvarbody:someView{VStack(alignment:.leading, spacing:.m){VStack{Text("You're editing a great photo. Do you want to save a draft of it before leaving the editor?").font(.regular(.m))}VStack(alignment:.leading, spacing:.l){Button{dismiss()} label:{HStack{Iconoir.icon(.sparks)Text("Continue editing").font(.regular())}}Button{self.saveDraft()} label:{HStack{HStack{Iconoir.icon(.cloudDownload)Text("Leave & Save Draft").font(.regular())}Spacer()
if self.saving == true {ProgressView().tint(.black)}}}.onChange(of:self.saving){ saving in
if saving == false {DispatchQueue.main.async{dismiss()AlertKitAPI.present(
title:"Saved to your Binsoo draft!",
icon:.custom(UIImage(named:Iconoir.cloudDownload.rawValue)!),
style:.iOS17AppleMusic,
haptic:.success
)}}}Divider().padding(.vertical,.xxs)Button{self.onBack()} label:{HStack{Iconoir.icon(.fastArrowLeft)Text("Leave").font(.regular())}}.foregroundColor(.red)}.disabled(self.saving).foregroundColor(.black).padding(.top,.m)}.padding(.m).padding(.bottom,.paddingBottom)}}
Describe the bug
The height of the content is changed when I drag it.
Minimal reproduce-able code
Expected behavior
Works perfectly
Screenshots
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-03-01.at.00.34.19.mp4
Target version
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: