Commit 783bdbbc authored by Alexander Ivanov's avatar Alexander Ivanov

Fix typos.

parent ad002ada
...@@ -755,7 +755,7 @@ public class SettingsManager implements OnInitializedListener, ...@@ -755,7 +755,7 @@ public class SettingsManager implements OnInitializedListener,
String key) { String key) {
if (key.equals(Application.getInstance().getString( if (key.equals(Application.getInstance().getString(
R.string.chats_show_status_change_key))) { R.string.chats_show_status_change_key))) {
MessageManager.getInstance().onActionSettings(); MessageManager.getInstance().onSettingsChanged();
} else if (key.equals(Application.getInstance().getString( } else if (key.equals(Application.getInstance().getString(
R.string.events_persistent_key))) { R.string.events_persistent_key))) {
NotificationManager.getInstance().onMessageNotification(); NotificationManager.getInstance().onMessageNotification();
...@@ -771,7 +771,7 @@ public class SettingsManager implements OnInitializedListener, ...@@ -771,7 +771,7 @@ public class SettingsManager implements OnInitializedListener,
NotificationManager.getInstance().onMessageNotification(); NotificationManager.getInstance().onMessageNotification();
} else if (key.equals(Application.getInstance().getString( } else if (key.equals(Application.getInstance().getString(
R.string.chats_attention_key))) { R.string.chats_attention_key))) {
AttentionManager.getInstance().onSettingChange(); AttentionManager.getInstance().onSettingsChanged();
} }
} }
......
...@@ -104,7 +104,7 @@ public class AttentionManager implements OnPacketListener, OnLoadListener { ...@@ -104,7 +104,7 @@ public class AttentionManager implements OnPacketListener, OnLoadListener {
public AttentionManager() { public AttentionManager() {
} }
public void onSettingChange() { public void onSettingsChanged() {
synchronized (enabledLock) { synchronized (enabledLock) {
for (String account : AccountManager.getInstance().getAccounts()) { for (String account : AccountManager.getInstance().getAccounts()) {
ConnectionThread connectionThread = AccountManager ConnectionThread connectionThread = AccountManager
......
...@@ -369,7 +369,7 @@ public class MessageManager implements OnLoadListener, OnPacketListener, ...@@ -369,7 +369,7 @@ public class MessageManager implements OnLoadListener, OnPacketListener,
/** /**
* Called on action settings change. * Called on action settings change.
*/ */
public void onActionSettings() { public void onSettingsChanged() {
ChatsShowStatusChange showStatusChange = SettingsManager ChatsShowStatusChange showStatusChange = SettingsManager
.chatsShowStatusChange(); .chatsShowStatusChange();
Collection<BaseEntity> changedEntities = new ArrayList<BaseEntity>(); Collection<BaseEntity> changedEntities = new ArrayList<BaseEntity>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment