mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 14:45:47 +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 " +
|
||||
"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(() -> {{
|
||||
FileDao fileDao = NextcloudDatabase.getInstance(this).fileDao();
|
||||
fileDao.setInternalTwoWaySyncTimestampToMinusOne();
|
||||
fileDao.resetTwoWaySyncTimestamp();
|
||||
preferences.setTwoWaySyncTimestampDefault(true);
|
||||
}}).start();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue