use of com.faforever.client.preferences.NotificationsPrefs in project downlords-faf-client by FAForever.
the class SettingsController method temporarilyDisableUnsupportedSettings.
/**
* Disables preferences that should not be enabled since they are not supported yet.
*/
private void temporarilyDisableUnsupportedSettings(Preferences preferences) {
NotificationsPrefs notification = preferences.getNotification();
notification.setFriendOnlineSoundEnabled(false);
notification.setFriendOfflineSoundEnabled(false);
notification.setFriendOfflineSoundEnabled(false);
notification.setFriendPlaysGameSoundEnabled(false);
notification.setFriendPlaysGameToastEnabled(false);
}
Aggregations