mirror of
https://github.com/NinjaCheetah/RIT-Dining.git
synced 2025-10-18 22:26:19 -04:00
Fixed PayPal link, made open locations only persistent
This commit is contained in:
parent
2c607553ac
commit
b8a9c5cdd6
@ -257,7 +257,7 @@
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 8;
|
||||
CURRENT_PROJECT_VERSION = 9;
|
||||
DEVELOPMENT_TEAM = 5GF7GKNTK4;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
@ -291,7 +291,7 @@
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 8;
|
||||
CURRENT_PROJECT_VERSION = 9;
|
||||
DEVELOPMENT_TEAM = 5GF7GKNTK4;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
|
@ -54,6 +54,8 @@ struct LocationList: View {
|
||||
}
|
||||
|
||||
struct ContentView: View {
|
||||
// Stored in AppStorage because making this setting persistent makes sense. Some people only ever want to see open locations.
|
||||
@AppStorage("openLocationsOnly") var openLocationsOnly: Bool = false
|
||||
@State private var isLoading: Bool = true
|
||||
@State private var loadFailed: Bool = false
|
||||
@State private var showingDonationSheet: Bool = false
|
||||
@ -61,7 +63,6 @@ struct ContentView: View {
|
||||
@State private var diningLocations: [DiningLocation] = []
|
||||
@State private var lastRefreshed: Date?
|
||||
@State private var searchText: String = ""
|
||||
@State private var openLocationsOnly: Bool = false
|
||||
|
||||
private var animation: Animation {
|
||||
.linear
|
||||
|
@ -66,7 +66,7 @@ struct DonationView: View {
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
Button(action: {
|
||||
openURL(URL(string: "paypal.me/NinjaCheetahX")!)
|
||||
openURL(URL(string: "https://paypal.me/NinjaCheetahX")!)
|
||||
}) {
|
||||
HStack(alignment: .center) {
|
||||
Image("paypalLogo")
|
||||
|
Loading…
x
Reference in New Issue
Block a user