Skip to content
Permalink
Browse files

Upgrade realm to 5.7.0

  • Loading branch information...
lkorth committed Nov 3, 2018
1 parent f02fad5 commit 7b8bf1f769212b72fd551aa6930c66003adf8216
Showing with 4 additions and 3 deletions.
  1. +1 −1 app/build.gradle
  2. +2 −1 app/src/main/java/com/lukekorth/auto_fi/adapters/WifiNetworksAdapter.java
  3. +1 −1 build.gradle
@@ -54,7 +54,7 @@ dependencies {
implementation 'fr.nicolaspomepuy:discreetapprate:2.0.4@aar'

debugImplementation 'com.facebook.stetho:stetho:1.5.0'
debugImplementation 'com.uphyca:stetho_realm:2.0.0'
debugImplementation 'com.uphyca:stetho_realm:2.1.0'

androidTestImplementation 'junit:junit:4.12'
androidTestImplementation('com.android.support.test:runner:0.5', {
@@ -59,7 +59,8 @@ private void getWifiNetworks(String sortingField, Sort sortOrder) {
.equalTo("connectedToVpn", true)
.or()
.greaterThan("blacklistedTimestamp", 0)
.findAllSorted(sortingField, sortOrder);
.sort(sortingField, sortOrder)
.findAll();

mWifiNetworks.addChangeListener(this);
notifyDataSetChanged();
@@ -6,7 +6,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.1.0'
classpath 'io.realm:realm-gradle-plugin:3.4.0'
classpath 'io.realm:realm-gradle-plugin:5.7.0'
}
}

0 comments on commit 7b8bf1f

Please sign in to comment.
You can’t perform that action at this time.