Skip to content

Commit

Permalink
๐ŸŽจ :: ์ฝ”๋“œ Formatting ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
youn9k committed Aug 25, 2024
1 parent ec1d4f3 commit 3b61347
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,14 @@ final class SettingReactor: Reactor {
.flatMap { granted -> Observable<Mutation> in
return .just(.changedNotificationAuthorizationStatus(granted))
}

let updatePlayTypeMutation = PreferenceManager.$playWithYoutubeMusic
.distinctUntilChanged()
.map { $0 ?? false }
.flatMap { isPlayWithYoutubeMusic -> Observable<Mutation> in
return .just(.reloadTableView)
}

return Observable.merge(
mutation,
updateIsLoggedInMutation,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import DesignSystem
import RxCocoa
import RxSwift
import SnapKit
import Then
import UIKit
import Utility
import RxSwift
import RxCocoa

public final class PlayTypeTogglePopupViewController: UIViewController {
private let dimmView = UIView().then {
Expand Down Expand Up @@ -84,7 +84,7 @@ public final class PlayTypeTogglePopupViewController: UIViewController {
$0.titleLabel?.font = .setFont(.t4(weight: .medium))
$0.titleLabel?.setTextWithAttributes(alignment: .center)
}

private let disposeBag = DisposeBag()
private var selectedItemString: String = ""
private var completion: ((_ selectedItemString: String) -> Void)?
Expand Down Expand Up @@ -129,7 +129,7 @@ public final class PlayTypeTogglePopupViewController: UIViewController {
self?.secondItemButton.checkAppIsInstalled()
}
.disposed(by: disposeBag)

let cancelAction = UIAction { [weak self] _ in
self?.dismiss()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ final class SettingViewController: BaseReactorViewController<SettingReactor> {
owner.settingView.settingItemTableView.reloadData()
}
.disposed(by: disposeBag)

reactor.state.map(\.isShowActivityIndicator)
.distinctUntilChanged()
.bind(with: self) { owner, isShow in
Expand Down

0 comments on commit 3b61347

Please sign in to comment.