forked from zelo72/mastodon-ios
fix: code format
This commit is contained in:
parent
1e5daf5a77
commit
ca320c555a
|
@ -100,9 +100,7 @@ final class MastodonRegisterViewModel {
|
|||
.eraseToAnyPublisher()
|
||||
}
|
||||
.switchToLatest()
|
||||
.sink(receiveCompletion: { _ in
|
||||
|
||||
}, receiveValue: { [weak self] result in
|
||||
.sink { [weak self] result in
|
||||
guard let self = self else { return }
|
||||
switch result {
|
||||
case .success:
|
||||
|
@ -111,7 +109,7 @@ final class MastodonRegisterViewModel {
|
|||
case .failure:
|
||||
break
|
||||
}
|
||||
})
|
||||
}
|
||||
.store(in: &disposeBag)
|
||||
|
||||
usernameValidateState
|
||||
|
|
Loading…
Reference in New Issue