This commit is contained in:
Vladimir Dubovik
2025-03-14 12:47:18 +03:00
parent 8bc7425e2a
commit 99f2bd8a74
6 changed files with 139 additions and 30 deletions

View File

@ -82,14 +82,15 @@ struct MainView: View {
if (!isShowingMonthSlider) {
WeekTabView(vm: vm)
.transition(.opacity)
.animation(.easeInOut(duration: 0.25), value: isShowingMonthSlider)
}
else {
MonthTabView(vm: vm)
.transition(.opacity)
.animation(.easeInOut(duration: 0.25), value: isShowingMonthSlider)
}
}
.padding(.horizontal)
.animation(.easeInOut(duration: 0.25), value: isShowingMonthSlider)
}
}
#Preview {