Fix delete store message formatting (#975)

This commit is contained in:
Fabian Henneke
2020-07-27 08:18:01 +02:00
committed by GitHub
parent c9a3462372
commit 98a91de716

View File

@@ -157,7 +157,7 @@ class GitServerConfigActivity : BaseGitActivity() {
!(localDirFiles.size == 1 && localDirFiles[0].name == ".git")) {
MaterialAlertDialogBuilder(this)
.setTitle(R.string.dialog_delete_title)
.setMessage(resources.getString(R.string.dialog_delete_msg) + " " + localDir.toString())
.setMessage(resources.getString(R.string.dialog_delete_msg, localDir.toString()))
.setCancelable(false)
.setPositiveButton(R.string.dialog_delete) { dialog, _ ->
try {