mirror of
https://github.com/yattee/yattee.git
synced 2024-12-12 21:30:32 +05:30
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 issuesURL = URL(string: "https://github.com/yattee/yattee/issues")!
|
||||
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 translationsURL = URL(string: "https://hosted.weblate.org/engage/yattee/")!
|
||||
|
||||
@ -69,7 +68,6 @@ struct Help: View {
|
||||
.padding(.bottom, 8)
|
||||
|
||||
VStack(alignment: .leading, spacing: 8) {
|
||||
helpItemLink("Donations".localized(), url: Self.donationsURL, systemImage: "dollarsign.circle")
|
||||
helpItemLink("Contributing".localized(), url: Self.contributingURL, systemImage: "hammer")
|
||||
helpItemLink("Translations".localized(), url: Self.translationsURL, systemImage: "flag")
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ struct InstancesSettings: View {
|
||||
Spacer()
|
||||
}
|
||||
|
||||
if !selectedInstance.isNil, selectedInstance.app.supportsAccounts {
|
||||
if !selectedInstance.isNil, selectedInstance.app.supportsAccounts, !accounts.isDemo {
|
||||
SettingsHeader(text: "Accounts".localized())
|
||||
|
||||
let list = List(selection: $selectedAccount) {
|
||||
@ -114,11 +114,13 @@ struct InstancesSettings: View {
|
||||
|
||||
if selectedInstance != nil {
|
||||
HStack {
|
||||
Button("Add Account...") {
|
||||
selectedAccount = nil
|
||||
presentingAccountForm = true
|
||||
if !accounts.isDemo {
|
||||
Button("Add Account...") {
|
||||
selectedAccount = nil
|
||||
presentingAccountForm = true
|
||||
}
|
||||
.disabled(!selectedInstance.app.supportsAccounts)
|
||||
}
|
||||
.disabled(!selectedInstance.app.supportsAccounts)
|
||||
|
||||
Spacer()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user