Rename column uploadkey

This commit is contained in:
relikd
2020-08-29 14:48:53 +02:00
parent 69d8321180
commit b4bf705b7f
3 changed files with 9 additions and 9 deletions

View File

@@ -106,7 +106,7 @@ class VCShareRecording : UIViewController {
return
}
// update db, mark record as shared
rec.sharekey = json["key"] as? String ?? "_"
rec.uploadkey = json["key"] as? String ?? "_"
self?.record = rec // in case view is still open
RecordingsDB.update(rec) // rec cause self may not be available
self?.sendButton.tintColor = .gray