From 360cd87ec706f66f496291bd12970a5e476b7646 Mon Sep 17 00:00:00 2001 From: Karlo Kristensen Date: Fri, 9 Sep 2016 09:07:40 +0200 Subject: [PATCH] Fixing indention --- Action.swift | 2 +- UIBarButtonItem+Action.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Action.swift b/Action.swift index 51147db9..d9a15cbc 100644 --- a/Action.swift +++ b/Action.swift @@ -78,7 +78,7 @@ public final class Action { self.inputs.subscribe(onNext: { [weak self] (input) in self?._execute(input) - }, onError: nil, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag) + }, onError: nil, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag) } } diff --git a/UIBarButtonItem+Action.swift b/UIBarButtonItem+Action.swift index d74cd143..7ce54c08 100644 --- a/UIBarButtonItem+Action.swift +++ b/UIBarButtonItem+Action.swift @@ -34,8 +34,8 @@ public extension UIBarButtonItem { self.rx.tap.subscribe(onNext: { (_) in action.execute() - }, onError: nil, onCompleted: nil, onDisposed: nil) - .addDisposableTo(self.actionDisposeBag) + }, onError: nil, onCompleted: nil, onDisposed: nil) + .addDisposableTo(self.actionDisposeBag) } } }