Skip to content

Commit

Permalink
Merge pull request #39 from Async-Swift/Release
Browse files Browse the repository at this point in the history
[MASTER] Release v1.0.1
  • Loading branch information
unnnyong authored Sep 20, 2022
2 parents 1df7e1d + 5a4d3ef commit efa4cf1
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 25 deletions.
Binary file added .DS_Store
Binary file not shown.
11 changes: 11 additions & 0 deletions .well-known/apple-app-site-association
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"applinks": {
"apps": [],
"details": [
{
"appID": "76AJ433CP5.com.kim.AsyncSwift",
"paths": [ "*" ]
}
]
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.920",
"blue" : "0xEA",
"green" : "0xE5",
"red" : "0xE5"
"alpha" : "1.000",
"blue" : "0xD6",
"green" : "0xD1",
"red" : "0xD1"
}
},
"idiom" : "universal"
Expand Down
10 changes: 10 additions & 0 deletions AsyncSwift/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
<string>com.googleusercontent.apps.388113408677-32e2k6kqi1ags2n6bmompvpuu196ci0k</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>Deep Link</string>
<key>CFBundleURLSchemes</key>
<array>
<string>asyncswift</string>
</array>
</dict>
</array>
<key>FirebaseAppDelegateProxyEnabled</key>
<false/>
Expand Down
7 changes: 4 additions & 3 deletions AsyncSwift/Observed/AppData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ final class AppData: ObservableObject {
}

func checkLink(url: URL) -> Bool {
// URL Example = https://www.asyncswift.info?tab=ticketing
// URL Example = https://www.asyncswift.info?tab=event
// URL Example = https://asyncswift.info?tab=stamp
// URL Example = https://asyncswift.info?tab=event
guard URLComponents(url: url, resolvingAgainstBaseURL: true)?.host != nil else { return false }

print(url)
var queries = [String: String]()
for item in URLComponents(url: url, resolvingAgainstBaseURL: true)?.queryItems ?? [] {
queries[item.name] = item.value
Expand Down Expand Up @@ -64,6 +64,7 @@ final class AppData: ObservableObject {
DispatchQueue.main.async { [weak self] in
guard let self = self else {return }
do {
print(data)
let stamp = try JSONDecoder().decode(Stamp.self, from: data)
self.currentStamp = stamp
} catch {
Expand Down
2 changes: 1 addition & 1 deletion AsyncSwift/Views/MainTabView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import SwiftUI
struct MainTabView: View {
@EnvironmentObject var appData: AppData
var body: some View {
TabView {
TabView(selection: $appData.currentTab) {
ForEach(Tab.allCases, id: \.self) { tab in
tab.view.tabItem {
Image(systemName: tab.systemImageName)
Expand Down
17 changes: 0 additions & 17 deletions apple-app-site-association

This file was deleted.

0 comments on commit efa4cf1

Please sign in to comment.