aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/SubscribedUserDatabase
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/SubscribedUserDatabase')
-rw-r--r--app/src/main/java/SubscribedUserDatabase/SubscribedUserDao.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/SubscribedUserDatabase/SubscribedUserDao.java b/app/src/main/java/SubscribedUserDatabase/SubscribedUserDao.java
index 83bdf6fe..e1810eec 100644
--- a/app/src/main/java/SubscribedUserDatabase/SubscribedUserDao.java
+++ b/app/src/main/java/SubscribedUserDatabase/SubscribedUserDao.java
@@ -19,7 +19,7 @@ public interface SubscribedUserDao {
@Query("SELECT * FROM subscribed_users ORDER BY name COLLATE NOCASE ASC")
LiveData<List<SubscribedUserData>> getAllSubscribedUsers();
- @Query("SELECT * FROM subscribed_users WHERE name = :userName LIMIT 1")
+ @Query("SELECT * FROM subscribed_users WHERE name = :userName COLLATE NOCASE LIMIT 1")
SubscribedUserData getSubscribedUser(String userName);
@Query("DELETE FROM subscribed_users WHERE name = :userName")