Skip to content

Commit

Permalink
[Hotfix] setColor 위치 수정
Browse files Browse the repository at this point in the history
- 팀 색상 변경 오류 수정
  • Loading branch information
JMM00 committed Nov 25, 2023
1 parent a7802ed commit 7fe8cfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Halmap/Features/SongList/MainSongListTabView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@ struct MainSongListTabView: View {
.background(Color.systemBackground)
.sheet(isPresented: $viewModel.showingTeamChangingView) {
TeamSelectionView(viewModel: TeamSelectionViewModel(dataManager: dataManager), isShowing: $viewModel.showingTeamChangingView)
.onDisappear{
Color.setColor(selectedTeam)
}
}
.navigationBarHidden(true)
}
Expand Down
3 changes: 3 additions & 0 deletions Halmap/Features/TeamSelection/TeamSelectionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@ struct TeamSelectionView: View {
.disabled(!viewModel.isChangedSelectedTeam())
}
.padding(.horizontal, 20)
.onDisappear{
Color.setColor(selectedTeamName)
}
}
}

0 comments on commit 7fe8cfe

Please sign in to comment.