Cleanup and use indeterminate progress indicator
This commit is contained in:
parent
8302af2dc6
commit
ac8d071d43
4 changed files with 7 additions and 7 deletions
|
|
@ -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)
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue