mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Added review dialog
This commit is contained in:
@@ -93,11 +93,14 @@ public interface DaoAccount {
|
||||
" WHERE account.synchronize) AS operations")
|
||||
LiveData<TupleAccountStats> liveStats();
|
||||
|
||||
@Query("SELECT account.id, account.swipe_left, l.type AS left_type, account.swipe_right, r.type AS right_type" +
|
||||
@Query("SELECT account.id" +
|
||||
", account.swipe_left, l.type AS left_type, l.name AS left_name" +
|
||||
", account.swipe_right, r.type AS right_type, r.name AS right_name" +
|
||||
" FROM account" +
|
||||
" LEFT JOIN folder l ON l.id = account.swipe_left" +
|
||||
" LEFT JOIN folder r ON r.id = account.swipe_right")
|
||||
LiveData<List<TupleAccountSwipes>> liveAccountSwipes();
|
||||
" LEFT JOIN folder r ON r.id = account.swipe_right" +
|
||||
" WHERE :account IS NULL OR account.id = :account")
|
||||
LiveData<List<TupleAccountSwipes>> liveAccountSwipes(Long account);
|
||||
|
||||
@Insert
|
||||
long insertAccount(EntityAccount account);
|
||||
|
||||
Reference in New Issue
Block a user