1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2025-02-16 11:41:16 +01:00

Merge pull request #706 from hmueller01/fix-debug-file-size2

fixed output of debug file size (in MB)
This commit is contained in:
Nite 2022-03-15 12:26:46 +01:00 committed by GitHub
commit dee4675715
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -468,7 +468,7 @@ class SettingsFragment :
val message = getString(
R.string.settings_debug_log_summary,
fileNum.toString(),
ceil(fileSize / 1000 * 1000.0).toString(),
ceil(fileSize.toDouble() / 1000 / 1000).toString(),
ultrasonicDirectory
)
val keep = R.string.settings_debug_log_keep