mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-12 11:31:09 +00:00
Logs instead of prints
This commit is contained in:
1 parent
6e33998fb6
commit
ca722b8894
7 files changed
+16
-18
No files matched your search
@@ -110,12 +110,12 @@ struct LargeAppIconView<Content: View>: View {
|
||||
.padding(.top, 50)
|
||||
.onTapGesture {
|
||||
taps += 1
|
||||
print("Clicked \(taps) times")
|
||||
log("Clicked \(taps) times")
|
||||
|
||||
if taps == 5 {
|
||||
|
||||
sendLoggingString()
|
||||
print("Copied log to clipboard")
|
||||
log("Copied log to clipboard")
|
||||
|
||||
taps = 0
|
||||
}
|
||||
@@ -147,7 +147,7 @@ func sendLoggingString() {
|
||||
|
||||
func sendEmailWithAttachment(fileURL: URL, recipients: [String], subject: String) {
|
||||
guard let emailService = NSSharingService(named: .composeEmail) else {
|
||||
print("No email service available")
|
||||
log("No email service available")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user