Add tip jar link to push notifications settings

This commit is contained in:
Shadowfacts 2024-05-20 12:49:26 -04:00
parent 0499255be7
commit 3eeffada1f
1 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,15 @@ struct NotificationsPrefsView: View {
var body: some View { var body: some View {
List { List {
NavigationLink {
TipJarView()
} label: {
Text("Push notifications are available for free to all users, but providing them has an ongoing cost. If you like the app, please consider \(Text("supporting Tusker").foregroundColor(.accentColor)).")
.font(.callout)
.foregroundStyle(.secondary)
}
.listRowBackground(Color.accentColor.opacity(0.1))
Section { Section {
ForEach(userAccounts.accounts) { account in ForEach(userAccounts.accounts) { account in
PushInstanceSettingsView(account: account) PushInstanceSettingsView(account: account)