-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
819 additions
and
368 deletions.
There are no files selected for viewing
9 changes: 0 additions & 9 deletions
9
ios/OTL Watch App/Assets.xcassets/AccentColor.colorset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
ios/OTL Watch App/Assets.xcassets/AppIcon.appiconset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"platform" : "watchos", | ||
"size" : "1024x1024" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
// | ||
// ContentView.swift | ||
// OTL Watch App | ||
// otl Watch App | ||
// | ||
// Created by Soongyu Kwon on 10/22/23. | ||
// Created by Soongyu Kwon on 06/11/2024. | ||
// | ||
|
||
import SwiftUI | ||
|
||
@available(iOS 17.0, *) | ||
struct ContentView: View { | ||
@State private var loginState: Bool = true | ||
|
||
var body: some View { | ||
if loginState { | ||
WeeklyTableView(loginState: self.$loginState) | ||
} else { | ||
LoginView() | ||
VStack { | ||
Image(systemName: "globe") | ||
.imageScale(.large) | ||
.foregroundStyle(.tint) | ||
Text("Hello, world!") | ||
} | ||
.padding() | ||
} | ||
} | ||
|
||
@available(iOS 17.0, *) | ||
#Preview { | ||
ContentView() | ||
} |
Oops, something went wrong.