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
1 changed files with 1 additions and 1 deletions

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