mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Remove donations link
On dearest App Store Review Team request
This commit is contained in:
parent
1fe01808a4
commit
70bee1a1ef
@ -7,7 +7,6 @@ struct Help: View {
|
|||||||
static let discordURL = URL(string: "https://yattee.stream/discord")!
|
static let discordURL = URL(string: "https://yattee.stream/discord")!
|
||||||
static let issuesURL = URL(string: "https://github.com/yattee/yattee/issues")!
|
static let issuesURL = URL(string: "https://github.com/yattee/yattee/issues")!
|
||||||
static let milestonesURL = URL(string: "https://github.com/yattee/yattee/milestones")!
|
static let milestonesURL = URL(string: "https://github.com/yattee/yattee/milestones")!
|
||||||
static let donationsURL = URL(string: "https://github.com/yattee/yattee/wiki/Donations")!
|
|
||||||
static let contributingURL = URL(string: "https://github.com/yattee/yattee/wiki/Contributing")!
|
static let contributingURL = URL(string: "https://github.com/yattee/yattee/wiki/Contributing")!
|
||||||
static let translationsURL = URL(string: "https://hosted.weblate.org/engage/yattee/")!
|
static let translationsURL = URL(string: "https://hosted.weblate.org/engage/yattee/")!
|
||||||
|
|
||||||
@ -69,7 +68,6 @@ struct Help: View {
|
|||||||
.padding(.bottom, 8)
|
.padding(.bottom, 8)
|
||||||
|
|
||||||
VStack(alignment: .leading, spacing: 8) {
|
VStack(alignment: .leading, spacing: 8) {
|
||||||
helpItemLink("Donations".localized(), url: Self.donationsURL, systemImage: "dollarsign.circle")
|
|
||||||
helpItemLink("Contributing".localized(), url: Self.contributingURL, systemImage: "hammer")
|
helpItemLink("Contributing".localized(), url: Self.contributingURL, systemImage: "hammer")
|
||||||
helpItemLink("Translations".localized(), url: Self.translationsURL, systemImage: "flag")
|
helpItemLink("Translations".localized(), url: Self.translationsURL, systemImage: "flag")
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ struct InstancesSettings: View {
|
|||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
|
|
||||||
if !selectedInstance.isNil, selectedInstance.app.supportsAccounts {
|
if !selectedInstance.isNil, selectedInstance.app.supportsAccounts, !accounts.isDemo {
|
||||||
SettingsHeader(text: "Accounts".localized())
|
SettingsHeader(text: "Accounts".localized())
|
||||||
|
|
||||||
let list = List(selection: $selectedAccount) {
|
let list = List(selection: $selectedAccount) {
|
||||||
@ -114,11 +114,13 @@ struct InstancesSettings: View {
|
|||||||
|
|
||||||
if selectedInstance != nil {
|
if selectedInstance != nil {
|
||||||
HStack {
|
HStack {
|
||||||
Button("Add Account...") {
|
if !accounts.isDemo {
|
||||||
selectedAccount = nil
|
Button("Add Account...") {
|
||||||
presentingAccountForm = true
|
selectedAccount = nil
|
||||||
|
presentingAccountForm = true
|
||||||
|
}
|
||||||
|
.disabled(!selectedInstance.app.supportsAccounts)
|
||||||
}
|
}
|
||||||
.disabled(!selectedInstance.app.supportsAccounts)
|
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user