mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Added rule export/import
This commit is contained in:
@@ -29,6 +29,11 @@ import androidx.room.Update;
|
||||
|
||||
@Dao
|
||||
public interface DaoRule {
|
||||
@Query("SELECT * FROM rule" +
|
||||
" WHERE folder = :folder" +
|
||||
" ORDER BY `order`")
|
||||
List<EntityRule> getRules(long folder);
|
||||
|
||||
@Query("SELECT * FROM rule" +
|
||||
" WHERE folder = :folder" +
|
||||
" AND enabled" +
|
||||
|
||||
Reference in New Issue
Block a user