Rename icons
This commit is contained in:
parent
e68258a2fd
commit
e0f1bde606
279 changed files with 493 additions and 519 deletions
|
@ -1312,11 +1312,11 @@ public class MusicService extends Service implements
|
|||
}
|
||||
|
||||
private void setCustomAction(PlaybackStateCompat.Builder stateBuilder) {
|
||||
int repeatIcon = R.drawable.ic_repeat_white_24dp; // REPEAT_MODE_NONE
|
||||
int repeatIcon = R.drawable.ic_repeat; // REPEAT_MODE_NONE
|
||||
if (getRepeatMode() == REPEAT_MODE_THIS) {
|
||||
repeatIcon = R.drawable.ic_repeat_one_white_24dp;
|
||||
repeatIcon = R.drawable.ic_repeat_one;
|
||||
} else if (getRepeatMode() == REPEAT_MODE_ALL) {
|
||||
repeatIcon = R.drawable.ic_repeat_white_circle_24dp;
|
||||
repeatIcon = R.drawable.ic_repeat_white_circledp;
|
||||
}
|
||||
stateBuilder.addCustomAction(new PlaybackStateCompat.CustomAction.Builder(
|
||||
CYCLE_REPEAT, getString(R.string.action_cycle_repeat), repeatIcon)
|
||||
|
@ -1329,7 +1329,7 @@ public class MusicService extends Service implements
|
|||
.build());
|
||||
|
||||
final int favoriteIcon = MusicUtil.isFavorite(getApplicationContext(), getCurrentSong())
|
||||
? R.drawable.ic_favorite_white_24dp : R.drawable.ic_favorite_border_white_24dp;
|
||||
? R.drawable.ic_favorite : R.drawable.ic_favorite_border;
|
||||
stateBuilder.addCustomAction(new PlaybackStateCompat.CustomAction.Builder(
|
||||
TOGGLE_FAVORITE, getString(R.string.action_toggle_favorite), favoriteIcon)
|
||||
.build());
|
||||
|
|
|
@ -52,7 +52,7 @@ class PlayingNotificationImpl : PlayingNotification() {
|
|||
val playButtonResId =
|
||||
if (isPlaying) R.drawable.ic_pause_white_48dp else R.drawable.ic_play_arrow_white_48dp
|
||||
val favoriteResId =
|
||||
if (isFavorite) R.drawable.ic_favorite_white_24dp else R.drawable.ic_favorite_border_white_24dp
|
||||
if (isFavorite) R.drawable.ic_favorite else R.drawable.ic_favorite_border
|
||||
|
||||
val action = Intent(service, MainActivity::class.java)
|
||||
action.putExtra(MainActivity.EXPAND_PANEL, true)
|
||||
|
|
|
@ -167,7 +167,7 @@ class PlayingNotificationOreo : PlayingNotification() {
|
|||
val close = createBitmap(
|
||||
RetroUtil.getTintedVectorDrawable(
|
||||
service,
|
||||
R.drawable.ic_close_white_24dp,
|
||||
R.drawable.ic_close,
|
||||
primary
|
||||
)!!, NOTIFICATION_CONTROLS_SIZE_MULTIPLIER
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue