Add tip jar link to push notifications settings
This commit is contained in:
parent
0499255be7
commit
3eeffada1f
|
@ -17,6 +17,15 @@ struct NotificationsPrefsView: View {
|
|||
|
||||
var body: some View {
|
||||
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 {
|
||||
ForEach(userAccounts.accounts) { account in
|
||||
PushInstanceSettingsView(account: account)
|
||||
|
|
Loading…
Reference in New Issue