Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

Commit

Permalink
✨ :: 생성 문구
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Feb 26, 2023
1 parent 6588a7f commit 866ce86
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions iOS/Sources/Presentation/Scene/Main/NewClub/NewClubReactor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,22 @@ private extension NewClubReactor {
)
return completable
.do(afterCompleted: {
owner.steps.accept(GCMSStep.popToRoot)
owner.steps.accept(
GCMSStep.alert(
title: "성공",
message: "동아리 개설 신청이 완료되었습니다. 수락을 기다려주세요!",
style: .alert,
actions: [
.init(title: "확인", style: .default, handler: { _ in
owner.steps.accept(GCMSStep.popToRoot)
})
]
)
)
})
.andThen(Observable.just(Mutation.setIsLoading(false)))
.catch { e in
self.steps.accept(GCMSStep.failureAlert(title: "실패", message: e.localizedDescription))
owner.steps.accept(GCMSStep.failureAlert(title: "실패", message: e.localizedDescription))
return .just(.setIsLoading(false))
}
}
Expand Down

0 comments on commit 866ce86

Please sign in to comment.