mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-13 03:51:11 +00:00
Remove unused code and strings
This commit is contained in:
1 parent
a3679c10c0
commit
b6e3943374
2 files changed
-339
No files matched your search
@@ -13,12 +13,9 @@ struct TutorialView: View {
|
||||
let title: String
|
||||
let text: String
|
||||
let showsLicense: Bool
|
||||
var showsBetaJoinButton: Bool = false
|
||||
|
||||
let openPlus: () -> Void
|
||||
|
||||
@State private var licenseWindow: NSWindow?
|
||||
@State var taps = 0
|
||||
@AppStorage(UserDefaultsKeys.plusVersion.rawValue) var isPlusVersion = false
|
||||
|
||||
var body: some View {
|
||||
@@ -31,22 +28,6 @@ struct TutorialView: View {
|
||||
.padding()
|
||||
.frame(width: 550)
|
||||
|
||||
|
||||
if showsBetaJoinButton {
|
||||
Button {
|
||||
|
||||
let betaTextBottom = "BetaEmailBottom".localized()
|
||||
|
||||
if let url = URL(string: "mailto:quickdrop-beta@leonboettger.com?subject=QuickDrop for Android Beta&body=\(betaTextBottom)") {
|
||||
NSWorkspace.shared.open(url)
|
||||
}
|
||||
} label: {
|
||||
Text("JoinBeta")
|
||||
}
|
||||
.keyboardShortcut(.defaultAction)
|
||||
.padding(.top)
|
||||
}
|
||||
|
||||
if showsLicense {
|
||||
HStack(spacing: 30) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user