fix delete dialog
This commit is contained in:
parent
c11274edd6
commit
260e65fe94
3 changed files with 4 additions and 4 deletions
|
@ -207,7 +207,7 @@ public class BucketSelect extends AppCompatActivity {
|
||||||
private void delete(String bucket) {
|
private void delete(String bucket) {
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(BucketSelect.this);
|
AlertDialog.Builder builder = new AlertDialog.Builder(BucketSelect.this);
|
||||||
builder.setCancelable(true);
|
builder.setCancelable(true);
|
||||||
builder.setTitle(getResources().getString(R.string.file_del));
|
builder.setTitle(bucket);
|
||||||
builder.setMessage(getResources().getString(R.string.bucket_del_confirm));
|
builder.setMessage(getResources().getString(R.string.bucket_del_confirm));
|
||||||
builder.setPositiveButton(android.R.string.ok,
|
builder.setPositiveButton(android.R.string.ok,
|
||||||
new DialogInterface.OnClickListener() {
|
new DialogInterface.OnClickListener() {
|
||||||
|
|
|
@ -522,7 +522,7 @@ public class ObjectSelect extends AppCompatActivity {
|
||||||
private void delete(String object, boolean folder) {
|
private void delete(String object, boolean folder) {
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(ObjectSelect.this);
|
AlertDialog.Builder builder = new AlertDialog.Builder(ObjectSelect.this);
|
||||||
builder.setCancelable(true);
|
builder.setCancelable(true);
|
||||||
builder.setTitle(getResources().getString(R.string.file_del));
|
builder.setTitle(object);
|
||||||
if (folder) {
|
if (folder) {
|
||||||
builder.setMessage(getResources().getString(R.string.folder_del_confirm));
|
builder.setMessage(getResources().getString(R.string.folder_del_confirm));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application' version '7.3.0' apply false
|
id 'com.android.application' version '7.3.1' apply false
|
||||||
id 'com.android.library' version '7.3.0' apply false
|
id 'com.android.library' version '7.3.1' apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
task clean(type: Delete) {
|
task clean(type: Delete) {
|
||||||
|
|
Loading…
Reference in a new issue