rename filedao function

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-10-28 07:12:19 +01:00 committed by Alper Öztürk
parent 67b78283f2
commit f0a8400cec
2 changed files with 2 additions and 2 deletions

View file

@ -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()
}

View file

@ -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();
}