Cleanup and use indeterminate progress indicator
This commit is contained in:
+1
-1
@@ -197,8 +197,8 @@ fun BugReportView(
|
||||
}
|
||||
when (state.sending) {
|
||||
is Async.Loading -> {
|
||||
// Indeterminate indicator, to avoid the freeze effect if the connection takes time to initialize.
|
||||
CircularProgressIndicator(
|
||||
progress = state.sendingProgress,
|
||||
modifier = Modifier.align(Alignment.Center)
|
||||
)
|
||||
}
|
||||
|
||||
+2
-2
@@ -484,9 +484,9 @@ class DefaultBugReporter @Inject constructor(
|
||||
|
||||
return compressFile(logCatErrFile)
|
||||
} catch (error: OutOfMemoryError) {
|
||||
Timber.e(error, "## saveLogCat() : fail to write logcat$error")
|
||||
Timber.e(error, "## saveLogCat() : fail to write logcat OOM")
|
||||
} catch (e: Exception) {
|
||||
Timber.e(e, "## saveLogCat() : fail to write logcat$e")
|
||||
Timber.e(e, "## saveLogCat() : fail to write logcat")
|
||||
}
|
||||
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user