Added missing string, removed obsolete code.
This commit is contained in:
parent
92441128df
commit
a95e71c52c
4 changed files with 2 additions and 7 deletions
|
|
@ -122,9 +122,6 @@ public class PlaylistDetailActivity extends AbsFabActivity implements CabHolder
|
|||
case R.id.action_playing_queue:
|
||||
NavigationUtil.openPlayingQueueDialog(this);
|
||||
return true;
|
||||
case R.id.action_clear_playlist:
|
||||
//TODO
|
||||
return true;
|
||||
}
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -113,9 +113,6 @@ public class SmartPlaylistDetailActivity extends AbsFabActivity implements CabHo
|
|||
case R.id.action_playing_queue:
|
||||
NavigationUtil.openPlayingQueueDialog(this);
|
||||
return true;
|
||||
case R.id.action_clear_playlist:
|
||||
playlist.clear(this);
|
||||
return true;
|
||||
}
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ public class MusicUtil {
|
|||
cursor.close();
|
||||
}
|
||||
context.getContentResolver().notifyChange(Uri.parse("content://media"), null);
|
||||
Toast.makeText(context, "Deleted " + songs.size() + " songs", Toast.LENGTH_SHORT).show(); //TODO add resource string
|
||||
Toast.makeText(context, context.getString(R.string.deleted_x_songs, songs.size()), Toast.LENGTH_SHORT).show();
|
||||
App.bus.post(new DataBaseChangedEvent(DataBaseChangedEvent.DATABASE_CHANGED));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue