aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/Account/AccountRepository.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/Account/AccountRepository.java')
-rw-r--r--app/src/main/java/Account/AccountRepository.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/src/main/java/Account/AccountRepository.java b/app/src/main/java/Account/AccountRepository.java
index 7aa77b51..573f00f8 100644
--- a/app/src/main/java/Account/AccountRepository.java
+++ b/app/src/main/java/Account/AccountRepository.java
@@ -10,19 +10,13 @@ import ml.docilealligator.infinityforreddit.RedditDataRoomDatabase;
public class AccountRepository {
private AccountDao mAccountDao;
- private LiveData<Account> mAccountLiveData;
private LiveData<List<Account>> mAccountsExceptCurrentAccountLiveData;
AccountRepository(RedditDataRoomDatabase redditDataRoomDatabase, String username) {
mAccountDao = redditDataRoomDatabase.accountDao();
- mAccountLiveData = mAccountDao.getAccountLiveData(username);
mAccountsExceptCurrentAccountLiveData = mAccountDao.getAccountsExceptCurrentAccountLiveData();
}
- LiveData<Account> getAccountLiveData() {
- return mAccountLiveData;
- }
-
public LiveData<List<Account>> getAccountsExceptCurrentAccountLiveData() {
return mAccountsExceptCurrentAccountLiveData;
}