mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 10:49:04 +03:00
rename filedao function
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
67b78283f2
commit
f0a8400cec
2 changed files with 2 additions and 2 deletions
|
@ -60,5 +60,5 @@ interface FileDao {
|
||||||
"UPDATE filelist SET internal_two_way_sync_timestamp = -1 WHERE internal_two_way_sync_timestamp " +
|
"UPDATE filelist SET internal_two_way_sync_timestamp = -1 WHERE internal_two_way_sync_timestamp " +
|
||||||
"IS NULL OR internal_two_way_sync_timestamp >= 0"
|
"IS NULL OR internal_two_way_sync_timestamp >= 0"
|
||||||
)
|
)
|
||||||
fun setInternalTwoWaySyncTimestampToMinusOne()
|
fun resetTwoWaySyncTimestamp()
|
||||||
}
|
}
|
||||||
|
|
|
@ -394,7 +394,7 @@ public class MainApp extends Application implements HasAndroidInjector, NetworkC
|
||||||
|
|
||||||
new Thread(() -> {{
|
new Thread(() -> {{
|
||||||
FileDao fileDao = NextcloudDatabase.getInstance(this).fileDao();
|
FileDao fileDao = NextcloudDatabase.getInstance(this).fileDao();
|
||||||
fileDao.setInternalTwoWaySyncTimestampToMinusOne();
|
fileDao.resetTwoWaySyncTimestamp();
|
||||||
preferences.setTwoWaySyncTimestampDefault(true);
|
preferences.setTwoWaySyncTimestampDefault(true);
|
||||||
}}).start();
|
}}).start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue