mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-21 05:46:03 +00:00
Temporarily put files in temp directory
This commit is contained in:
1 parent
867bf3fff5
commit
ba1f49a711
21 files changed
+537
-447
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user