fix delete dialog

This commit is contained in:
Page Asgardius 2022-11-22 11:52:29 -07:00
parent c11274edd6
commit 260e65fe94
3 changed files with 4 additions and 4 deletions

View file

@ -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() {

View file

@ -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 {

View file

@ -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) {