Mercurial > public > simoleon
comparison Simoleon/Settings.swift @ 35:41a905e591e4
Fixes minor bugs
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sat, 24 Jul 2021 23:14:10 +0100 |
parents | c52966834f83 |
children | 7703c122ce96 |
comparison
equal
deleted
inserted
replaced
34:a8d76aa51da2 | 35:41a905e591e4 |
---|---|
24 if subscriptionController.isActive { | 24 if subscriptionController.isActive { |
25 NavigationLink(destination: SubscriberInfo()) { | 25 NavigationLink(destination: SubscriberInfo()) { |
26 Text("Information", comment: "Button to show subscription information in settings") | 26 Text("Information", comment: "Button to show subscription information in settings") |
27 } | 27 } |
28 } else { | 28 } else { |
29 Text("Subscribe", comment: "Button to suscribe in settings") | 29 Button(action: { showingSubscriptionPaywall = true }) { |
30 .onTapGesture { showingSubscriptionPaywall = true } | 30 Text("Subscribe", comment: "Button to suscribe in settings") |
31 } | |
31 } | 32 } |
32 } | 33 } |
33 | 34 |
34 Section(header: Text("Preferences", comment: "Section header in settings")) { | 35 Section(header: Text("Preferences", comment: "Section header in settings")) { |
35 if subscriptionController.isActive { | 36 if subscriptionController.isActive { |