Added missing string, removed obsolete code.

This commit is contained in:
Karim Abou Zeid 2015-06-21 14:20:24 +02:00
commit a95e71c52c
4 changed files with 2 additions and 7 deletions

View file

@ -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));
}
}