From 725effad091fab4a2e7664f6d8d557cc80c1d283 Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Sun, 25 Sep 2022 05:24:35 -0700 Subject: [PATCH] new release --- .../java/asgardius/page/s3manager/ObjectSelect.java | 4 ++-- .../res/drawable/{textfile.png => ptextfile.png} | Bin 2 files changed, 2 insertions(+), 2 deletions(-) rename app/src/main/res/drawable/{textfile.png => ptextfile.png} (100%) diff --git a/app/src/main/java/asgardius/page/s3manager/ObjectSelect.java b/app/src/main/java/asgardius/page/s3manager/ObjectSelect.java index a65f095..84f670f 100644 --- a/app/src/main/java/asgardius/page/s3manager/ObjectSelect.java +++ b/app/src/main/java/asgardius/page/s3manager/ObjectSelect.java @@ -135,7 +135,7 @@ public class ObjectSelect extends AppCompatActivity { Img.add(R.drawable.folder); } else if (Name.get(i).toString().toLowerCase(Locale.ROOT).endsWith(".txt") || Name.get(i).toString().toLowerCase(Locale.ROOT).endsWith(".md")) { - Img.add(R.drawable.textfile); + Img.add(R.drawable.ptextfile); } else if (Name.get(i).toString().toLowerCase(Locale.ROOT).endsWith(".pdf")) { Img.add(R.drawable.pdffile); @@ -218,7 +218,7 @@ public class ObjectSelect extends AppCompatActivity { } catch (Exception e) { Toast.makeText(getApplicationContext(),getResources().getString(R.string.media_list_fail), Toast.LENGTH_SHORT).show(); } - }*/ else if (Img.get(position).equals(R.drawable.webpage) || Img.get(position).equals(R.drawable.textfile)) { + }*/ else if (Img.get(position).equals(R.drawable.webpage) || Img.get(position).equals(R.drawable.ptextfile)) { //load media file try { GeneratePresignedUrlRequest request = new GeneratePresignedUrlRequest(bucket, prefix + Name.get(position).toString()); diff --git a/app/src/main/res/drawable/textfile.png b/app/src/main/res/drawable/ptextfile.png similarity index 100% rename from app/src/main/res/drawable/textfile.png rename to app/src/main/res/drawable/ptextfile.png