Skip to content

Commit

Permalink
fix :: 애니메이션 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HongSJae committed Mar 6, 2023
1 parent 83ae6c5 commit 6dba742
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Projects/Features/HomeFeature/Sources/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ struct HomeView: View {
} label: {
NoticeView()
}
.offset(x: viewModel.isExistNewNotice ? 0 : 50)
.opacity(viewModel.isExistNewNotice ? 1 : 0)
.animation(
.easeInOut(duration: 1),
.easeIn(duration: 1.5),
value: viewModel.isExistNewNotice
)
}
Expand Down

0 comments on commit 6dba742

Please sign in to comment.