Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
sahin-a committed Aug 24, 2023
1 parent 1da7187 commit 703c951
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ InfoService infoService
ReactiveCommand.Create((Account account) => ToggleBlacklistingForAccount(account));
ToggleBlacklistingModeCommand = ReactiveCommand.Create(ToggleBlacklistingMode);

RegisterSubscriptions();
SubscribeToEventBus();
LoadVisibilityConfig();
LoadAccounts();
}

private void RegisterSubscriptions()
private void SubscribeToEventBus()
{
_eventBus.Subscribe(subscriberKey: GetType().Name, Events.ACCOUNTS_UPDATED,
_ => LoadAccounts()
Expand Down

0 comments on commit 703c951

Please sign in to comment.