8000 Move feature vote link to URL extension · codeface-io/Codeface@c811f55 · GitHub
[go: up one dir, main page]

Skip to content

Commit c811f55

Browse files
committed
Move feature vote link to URL extension
1 parent a58dc67 commit c811f55

File tree

5 files changed

+4
-10
lines changed

5 files changed

+4
-10
lines changed

Code/App/FeatureVote.swift

Lines changed: 0 additions & 4 deletions
This file was deleted.

Code/App/In App Purchase/Subscription Panel/SubscriptionManagementView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ struct SubscriptionManagementView: View
4646
{
4747
LargeButton("Vote on New Features", colorScheme: .green)
4848
{
49-
openURL(URL(string: FeatureVote.urlString)!)
49+
openURL(.featureVote)
5050
}
5151
}
5252
else

Code/App/In App Purchase/SubscriptionMenu.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ struct SubscriptionMenu: View
4343

4444
Button("Vote On New Features (Subscribers Only) ...")
4545
{
46-
openURL(URL(string: FeatureVote.urlString)!)
46+
openURL(.featureVote)
4747
}
4848
.disabled(!appStoreClient.ownsProducts)
4949

Code/App/URL+Codeface.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import Foundation
22

33
extension URL
44
{
5+
static let featureVote = URL(string: "https://flowtoolz.typeform.com/to/afRj6wz4")!
6+
57
static let lspService = URL(string: "https://codeface.io/lspservice/index.html")!
68

79
static let documentation = URL(string: "https://codeface.io/documentation/index.html")!

XCodeProject/Codeface.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
96D59CD2294AC36A003C55B5 /* DocumentLink.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96D59CD1294AC36A003C55B5 /* DocumentLink.swift */; };
8888
96D8DB1D28A1503C00B84B45 /* PathBarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96D8DB1C28A1503C00B84B45 /* PathBarView.swift */; };
8989
96DC635528E100D900DD5BEB /* SwiftLSP in Frameworks */ = {isa = PBXBuildFile; productRef = 96DC635428E100D900DD5BEB /* SwiftLSP */; };
90-
96E0C0BB29D076720087A79F /* FeatureVote.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96E0C0BA29D076720087A79F /* FeatureVote.swift */; };
9190
96E0C0BE29D0806A0087A79F /* LargeButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96E0C0BD29D0806A0087A79F /* LargeButton.swift */; };
9291
96E0C0C129D080F10087A79F /* FeatureView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96E0C0C029D080F10087A79F /* FeatureView.swift */; };
9392
96E0C0C329D081550087A79F /* SubscriptionManagementView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96E0C0C229D081550087A79F /* SubscriptionManagementView.swift */; };
@@ -220,7 +219,6 @@
220219
96D59CCA294ABC1F003C55B5 /* DoubleSidebarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DoubleSidebarView.swift; sourceTree = "<group>"; };
221220
96D59CD1294AC36A003C55B5 /* DocumentLink.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DocumentLink.swift; sourceTree = "<group>"; };
222221
96D8DB1C28A1503C00B84B45 /* PathBarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PathBarView.swift; sourceTree = "<group>"; };
223-
96E0C0BA29D076720087A79F /* FeatureVote.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeatureVote.swift; sourceTree = "<group>"; };
224222
96E0C0BD29D0806A0087A79F /* LargeButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LargeButton.swift; sourceTree = "<group>"; };
225223
96E0C0C029D080F10087A79F /* FeatureView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeatureView.swift; sourceTree = "<group>"; };
226224
96E0C0C229D081550087A79F /* SubscriptionManagementView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SubscriptionManagementView.swift; sourceTree = "<group>"; };
@@ -699,7 +697,6 @@
699697
963170E929CE0A1100B146D5 /* DocumentWindowDisplayOptions.swift */,
700698
967BFD5B29D4AFE400BD9CA7 /* DocumentLink+Codeface.swift */,
701699
9651AC1429D348050054FB52 /* URL+Codeface.swift */,
702-
96E0C0BA29D076720087A79F /* FeatureVote.swift */,
703700
);
704701
path = App;
705702
sourceTree = "<group>";
@@ -974,7 +971,6 @@
974971
963170EA29CE0A1100B146D5 /* DocumentWindowDisplayOptions.swift in Sources */,
975972
968EA5C328DCD24500FE8A9B /* CodebaseProcessorView.swift in Sources */,
976973
96E0C0C129D080F10087A79F /* FeatureView.swift in Sources */,
977-
96E0C0BB29D076720087A79F /* FeatureVote.swift in Sources */,
978974
96F5E7F02957191E00181473 /* ConcurrencyPOC.swift in Sources */,
979975
969A9BF229B1E60C00D391AD /* ArtifactViewModel+BorderColor.swift in Sources */,
980976
960730B628982F3C008F1D7C /* Arrow.swift in Sources */,

0 commit comments

Comments
 (0)
0