android: HomeSettingsFragment: Use string resource for "Share log".

This commit is contained in:
bunnei 2023-06-05 17:40:43 -07:00
parent 409ff26f02
commit e1078ec0f4
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ class HomeSettingsFragment : Fragment() {
.setDataAndType(file.uri, FileUtil.TEXT_PLAIN) .setDataAndType(file.uri, FileUtil.TEXT_PLAIN)
.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
.putExtra(Intent.EXTRA_STREAM, file.uri) .putExtra(Intent.EXTRA_STREAM, file.uri)
startActivity(Intent.createChooser(intent, "Share log")) startActivity(Intent.createChooser(intent, getText(R.string.share_log)))
} else { } else {
Toast.makeText( Toast.makeText(
requireContext(), requireContext(),