This file contains hidden or 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
| extension Habit { | |
| // .sheet() on line 47 | |
| struct Dashboard: View { | |
| @Namespace private var habitTransition | |
| @Environment(\.colorScheme) var colorScheme | |
| @Environment(\.scenePhase) private var scenePhase | |
| @Environment(Habit.Dashboard.Manager.self) var dashboardManager |
This file contains hidden or 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
| import SwiftUI | |
| extension HabitCard { | |
| var barChart: some View { | |
| Capsule() | |
| .fill(.quaternary) | |
| .overlay { | |
| GeometryReader { geometry in | |
| let height = geometry.size.height | |
| Capsule() |