android: HomeSettingsFragment: Use string resource for "Share log".
This commit is contained in:
parent
409ff26f02
commit
e1078ec0f4
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user