mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-23 16:29:28 -04:00
Use affirmative action in the "Delete repository?" dialog
"Delete" instead of "OK" more clearly indicates the outcome. See http://www.google.com/design/spec/components/dialogs.html
This commit is contained in:
@@ -345,7 +345,7 @@ public class RepoDetailsActivity extends ActionBarActivity {
|
||||
new AlertDialog.Builder(this)
|
||||
.setTitle(R.string.repo_confirm_delete_title)
|
||||
.setMessage(R.string.repo_confirm_delete_body)
|
||||
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
||||
.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
RepoProvider.Helper.remove(getApplicationContext(), repoId);
|
||||
|
||||
Reference in New Issue
Block a user