mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Removed compiler warnings
This commit is contained in:
parent
c286329466
commit
bdfa4a6f64
2 changed files with 2 additions and 4 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue