mirror of
https://gitea.mayex.net/mayekkuzu/Audinaut.git
synced 2025-01-23 18:24:53 +03:00
Optimize conditional
This commit is contained in:
parent
e7953958da
commit
c7f1fa8665
@ -324,11 +324,10 @@ public class NowPlayingFragment extends SubsonicFragment implements OnGestureLis
|
||||
menu.findItem(R.id.menu_save_playlist).setEnabled(false);
|
||||
}
|
||||
|
||||
if (downloadService != null && downloadService.isRemovePlayed()) {
|
||||
if (downloadService != null) {
|
||||
if (downloadService.isRemovePlayed()) {
|
||||
menu.findItem(R.id.menu_remove_played).setChecked(true);
|
||||
}
|
||||
|
||||
if (downloadService != null) {
|
||||
SharedPreferences prefs = Util.getPreferences(context);
|
||||
boolean equalizerOn = prefs.getBoolean(Constants.PREFERENCES_EQUALIZER_ON, false);
|
||||
if (equalizerOn) {
|
||||
|
Loading…
Reference in New Issue
Block a user