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 {
|
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)
|
||||||
|
|
Loading…
Reference in New Issue