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
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c34404a33be8eb234025442da98fc85e29236769c200bd0e40cc2cf8f9db3e4
|
||||
size 52604
|
||||
oid sha256:9b432f300926890ddc7dcc59051b3b31a2a1185ba1d527d776378547433905d9
|
||||
size 52789
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e628e65234a8632350cdc9ab014b36f3c2bd9e35977bc6d919314a32c2f8a1cf
|
||||
size 50965
|
||||
oid sha256:08cb1e38ee31bf4931d3835d471e61e5cc51d8b6ca5fca3d3044ba85686777ea
|
||||
size 51075
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue