mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-04 08:13:07 +00:00
Removed compiler warnings
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
apply plugin: 'kotlin-android-extensions'
|
|
||||||
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 30
|
compileSdkVersion 30
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ import java.util.List;
|
|||||||
|
|
||||||
@Dao
|
@Dao
|
||||||
public interface QueueDao {
|
public interface QueueDao {
|
||||||
@Query("SELECT * FROM song JOIN queue ON song.id = queue.id")
|
@Query("SELECT song.* FROM song JOIN queue ON song.id = queue.id")
|
||||||
LiveData<List<Song>> getAll();
|
LiveData<List<Song>> getAll();
|
||||||
|
|
||||||
@Query("SELECT * FROM song JOIN queue ON song.id = queue.id")
|
@Query("SELECT song.* FROM song JOIN queue ON song.id = queue.id")
|
||||||
List<Song> getAllSimple();
|
List<Song> getAllSimple();
|
||||||
|
|
||||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||||
|
|||||||
Reference in New Issue
Block a user