You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/src/main/java/com/phpbg/easysync/ui/MainActivity.kt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -315,7 +315,9 @@ private fun Main(
315
315
Spacer(modifier =Modifier.height(16.dp))
316
316
317
317
val syncedPercent =if (localCount >0&& syncedCount >=0) {
318
-
round(100.0* syncedCount / localCount).toInt()
318
+
// localCount represents local files eligible for sync
319
+
// syncedCount represents files already synced, which includes local files and dav files that are synced outside of regular URIs (e.g. you sync a `/Foo` folder on your dav server)
0 commit comments