Merge pull request #7642 from thunderbird/export_log_mime_type
Explicitly specify MIME type when exporting debug log
This commit is contained in:
commit
c30d97e7c8
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class GeneralSettingsFragment : PreferenceFragmentCompat() {
|
|||
private var currentUiState: GeneralSettingsUiState? = null
|
||||
private var snackbar: Snackbar? = null
|
||||
|
||||
private val exportLogsResultContract = registerForActivityResult(CreateDocument()) { contentUri ->
|
||||
private val exportLogsResultContract = registerForActivityResult(CreateDocument("text/plain")) { contentUri ->
|
||||
if (contentUri != null) {
|
||||
viewModel.exportLogs(contentUri)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue