Skip to content

Commit

Permalink
⚡️ :: 업데이트 기능 수정 및 뷰 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
BJCHO0501 committed Dec 26, 2023
1 parent befe35c commit b2f4b44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ struct GithubRankingView: View {
var body: some View {
ScrollView(showsIndicators: false) {
VStack(alignment: .leading, spacing: 16) {
TopRankView(topRankData: viewModel.githubRankList)
HStack {
Spacer()
TopRankView(topRankData: viewModel.githubRankList)
Spacer()
}
Text("나의 순위")
.sdText(type: .body1, textColor: .GrayScale.gray900)
RankingListCellView(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ class GithubRankingViewModel: ObservableObject {
}

func updateGithubRanking() {
self.updateGithubRankingUseCase.execute()
.subscribe(onCompleted: {
self.fetchMyGithubInfo()
self.fetchGithubInfoList()
})
.disposed(by: disposeBag)
fetchMyGithubInfo()
fetchGithubInfoList()
}
}

0 comments on commit b2f4b44

Please sign in to comment.