Removed toast no longer required

This commit is contained in:
Sylvain Berfini 2024-02-08 13:16:32 +01:00
parent 012b2419e5
commit 1697dc7f7b
3 changed files with 1 additions and 8 deletions

View file

@ -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(

View file

@ -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()
}
}

View file

@ -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>