Skip to content

Commit

Permalink
[Fix/#56] Report뷰 그라데이션 영역
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoe0929 committed Jun 18, 2024
1 parent 9540648 commit 2ad1195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HMH_iOS/HMHDeviceActivityReport/AppActivityView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct ListView: View {

var backgroundView: some View {
GeometryReader { geometry in
let remainingPercent = 1 - Double(eachApp.remainTime) / 3600 // 0에서 1 사이의 값으로 정규화
let remainingPercent = Double(eachApp.duration) / 6000 // 0에서 1 사이의 값으로 정규화
let gradientColors: [Color] = [.bluePurpleButton.opacity(0.4), .bluePurpleButton]
ZStack(alignment: .topLeading) {
RoundedRectangle(cornerRadius: 4)
Expand Down

0 comments on commit 2ad1195

Please sign in to comment.