Added dialog to set swipe actions for all accounts

This commit is contained in:
M66B
2020-03-29 12:05:30 +02:00
parent b45cce9a32
commit 0557b305ff
6 changed files with 261 additions and 48 deletions

View File

@@ -167,6 +167,9 @@ public interface DaoAccount {
@Query("UPDATE account SET error = :error WHERE id = :id")
int setAccountError(long id, String error);
@Query("UPDATE account SET swipe_left = :left, swipe_right = :right WHERE id = :id")
int setAccountSwipes(long id, Long left, Long right);
@Query("UPDATE account SET `primary` = 0")
void resetPrimary();