Skip to content

Commit

Permalink
Merge pull request #34 from DeveloperAcademy-POSTECH/feat/#25
Browse files Browse the repository at this point in the history
Docs: add alarm.png
  • Loading branch information
grootwo authored May 21, 2024
2 parents 6df619a + 16012d8 commit 2f0e114
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions LiveTimeWidget/Assets.xcassets/alarm.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "alarm.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion MC2-Team3-Pilling/View/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct ContentView: View {
@Environment(\.modelContext) private var modelContext

@State private var isTracking = false
@State private var alarmTime = dateFormatter.date(from: "\(Date.now.formatted(date: .numeric, time: .omitted))_23:00:00")!
@State private var alarmTime = dateFormatter.date(from: "\(Date.now.formatted(date: .numeric, time: .omitted))_12:00:00")!
@State private var activity: Activity<LiveTimeAttributes>? = nil

@Query private var user: [UserInfo] // 하나만 쓰고싶다면?
Expand Down

0 comments on commit 2f0e114

Please sign in to comment.