mirror of
https://github.com/lwouis/alt-tab-macos.git
synced 2026-05-24 11:20:36 +00:00
fix: feedback form messages got broken by github
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import Cocoa
|
||||
import Foundation
|
||||
|
||||
class FeedbackWindow: NSWindow {
|
||||
static let token = Bundle.main.object(forInfoDictionaryKey: "FeedbackToken") as! String
|
||||
static let token: String = {
|
||||
// token is encoded to/from base64 to avoid github noticing it and revoking it
|
||||
let base64Token = Bundle.main.object(forInfoDictionaryKey: "FeedbackToken") as! String
|
||||
return String(data: Data(base64Encoded: base64Token)!, encoding: .utf8)!
|
||||
}()
|
||||
var body: TextArea!
|
||||
var email: TextArea!
|
||||
var sendButton: NSButton!
|
||||
|
||||
Reference in New Issue
Block a user