mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 15:03:37 +00:00
Finally fixed the music queue and swap logic
This commit is contained in:
@@ -20,7 +20,7 @@ import com.cappielloantonio.play.model.Server;
|
||||
|
||||
@SuppressLint("RestrictedApi")
|
||||
@Database(
|
||||
version = 28,
|
||||
version = 29,
|
||||
entities = {Queue.class, Server.class, RecentSearch.class, Download.class, Playlist.class}
|
||||
// autoMigrations = { @AutoMigration(from = 23, to = 24) }
|
||||
)
|
||||
|
||||
@@ -26,7 +26,7 @@ public interface QueueDao {
|
||||
void insertAll(List<Queue> songQueueObjects);
|
||||
|
||||
@Query("DELETE FROM queue WHERE queue.track_order=:position")
|
||||
void deleteByPosition(int position);
|
||||
void delete(int position);
|
||||
|
||||
@Query("DELETE FROM queue")
|
||||
void deleteAll();
|
||||
|
||||
Reference in New Issue
Block a user