mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Removed toast no longer required
This commit is contained in:
parent
012b2419e5
commit
1697dc7f7b
3 changed files with 1 additions and 8 deletions
|
|
@ -73,13 +73,6 @@ class DebugFragment : GenericFragment() {
|
|||
|
||||
viewModel.uploadDebugLogsFinishedEvent.observe(viewLifecycleOwner) {
|
||||
it.consume { url ->
|
||||
(requireActivity() as MainActivity).showGreenToast(
|
||||
getString(
|
||||
R.string.help_troubleshooting_debug_logs_url_copied_into_clipboard_toast_message
|
||||
),
|
||||
R.drawable.info
|
||||
)
|
||||
|
||||
val appName = requireContext().getString(R.string.app_name)
|
||||
val intent = Intent(Intent.ACTION_SEND)
|
||||
intent.putExtra(
|
||||
|
|
|
|||
|
|
@ -160,6 +160,7 @@ class HelpViewModel @UiThread constructor() : ViewModel() {
|
|||
fun shareLogs() {
|
||||
coreContext.postOnCoreThread { core ->
|
||||
Log.i("$TAG Uploading debug logs for sharing")
|
||||
// TODO FIXME: spinner while logs are uploaded
|
||||
core.uploadLogCollection()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -254,7 +254,6 @@
|
|||
<string name="help_troubleshooting_sdk_version_title">Linphone SDK version</string>
|
||||
<string name="help_troubleshooting_share_logs_dialog_title">Share debug logs link using…</string>
|
||||
<string name="help_troubleshooting_debug_logs_cleaned_toast_message">Debug logs have been cleaned</string>
|
||||
<string name="help_troubleshooting_debug_logs_url_copied_into_clipboard_toast_message">Debug logs URL copied into clipboard</string>
|
||||
<string name="help_troubleshooting_debug_logs_upload_error_toast_message">Failed to upload debug logs</string>
|
||||
|
||||
<string name="settings_calls_title">Calls</string>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue