Temporarily put files in temp directory

This commit is contained in:
Leon Böttger committed 2025-04-03 20:56:41 +02:00
1 parent 867bf3fff5
commit ba1f49a711
21 files changed
+537 -447

No files matched your search

+9 -1
View File
@@ -7,6 +7,7 @@
import SwiftUI
import StoreKit
import NearbyShare
let plusViewWidth: CGFloat = 440
let plusViewHeight: CGFloat = 200
@@ -28,7 +29,14 @@ struct GetPlusView: View {
@State var buying = false
@State var errorText = ""
@State var boughtSuccessAlert = false
@State var boughtSuccessAlert = false {
didSet {
if boughtSuccessAlert {
log("User bought plus version. Moving pending files...")
SaveFilesManager.shared.movePendingFilesToTarget()
}
}
}
var body: some View {