mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 08:29:24 +00:00
Prevent read error
This commit is contained in:
parent
e068c9ce6b
commit
45c4a9988a
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ import androidx.lifecycle.LiveData;
|
|||
import androidx.room.Dao;
|
||||
import androidx.room.Insert;
|
||||
import androidx.room.Query;
|
||||
import androidx.room.Transaction;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -72,6 +73,7 @@ public interface DaoFolder {
|
|||
" WHERE account.`synchronize`")
|
||||
List<TupleFolderSort> getSortedFolders();
|
||||
|
||||
@Transaction
|
||||
@Query("SELECT folder.*" +
|
||||
", account.id AS accountId, account.pop AS accountProtocol, account.`order` AS accountOrder" +
|
||||
", account.name AS accountName, account.state AS accountState" +
|
||||
|
|
Loading…
Add table
Reference in a new issue