크리에이터 채널 - 팔로우와 알림설정
- 팔로잉 상태에서 알림 켜기/끄기 상태 추가
This commit is contained in:
@@ -282,11 +282,11 @@ final class UserProfileViewModel: ObservableObject {
|
||||
.store(in: &subscription)
|
||||
}
|
||||
|
||||
func creatorFollow() {
|
||||
func creatorFollow(follow: Bool = true, notify: Bool = true) {
|
||||
if let creator = creatorProfile {
|
||||
isLoading = true
|
||||
|
||||
userRepository.creatorFollow(creatorId: creator.creator.creatorId)
|
||||
userRepository.creatorFollow(creatorId: creator.creator.creatorId, follow: follow, notify: notify)
|
||||
.sink { result in
|
||||
switch result {
|
||||
case .finished:
|
||||
|
||||
Reference in New Issue
Block a user