From abb28b766a77b8dc54ef362c1461800744646fb5 Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Wed, 29 Apr 2026 01:31:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DAIDE=20Pro=20=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E7=9A=84=E7=BC=96=E8=AF=91=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82=E5=A4=84=E7=90=86=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E8=B5=8B=E5=80=BC=E4=BC=A0=E9=80=92=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gallery/build.properties | 4 ++-- .../src/main/java/cc/winboll/studio/gallery/AlbumAdapter.java | 4 ++-- .../src/main/java/cc/winboll/studio/gallery/ImageAdapter.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gallery/build.properties b/gallery/build.properties index b11415b..bc1f7dc 100644 --- a/gallery/build.properties +++ b/gallery/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Tue Apr 28 16:09:27 GMT 2026 +#Tue Apr 28 17:22:34 GMT 2026 stageCount=10 libraryProject= baseVersion=15.0 publishVersion=15.0.9 -buildCount=17 +buildCount=18 baseBetaVersion=15.0.10 diff --git a/gallery/src/main/java/cc/winboll/studio/gallery/AlbumAdapter.java b/gallery/src/main/java/cc/winboll/studio/gallery/AlbumAdapter.java index 2a23ac2..fa435bd 100644 --- a/gallery/src/main/java/cc/winboll/studio/gallery/AlbumAdapter.java +++ b/gallery/src/main/java/cc/winboll/studio/gallery/AlbumAdapter.java @@ -130,7 +130,7 @@ public class AlbumAdapter extends RecyclerView.Adapter private void showContextMenu(View view, final Album album) { android.app.AlertDialog.Builder builder = new android.app.AlertDialog.Builder(view.getContext()); builder.setTitle(album.getName()); - boolean isPinned = pinnedDbHelper != null && pinnedDbHelper.isPinned(album.getPath()); + final boolean isPinned = pinnedDbHelper != null && pinnedDbHelper.isPinned(album.getPath()); String[] items = isPinned ? new String[]{"取消置顶"} : new String[]{"置顶"}; builder.setItems(items, new android.content.DialogInterface.OnClickListener() { @Override @@ -252,4 +252,4 @@ private void showContextMenu(View view, final Album album) { imageCount = itemView.findViewById(R.id.image_count); } } -} \ No newline at end of file +} diff --git a/gallery/src/main/java/cc/winboll/studio/gallery/ImageAdapter.java b/gallery/src/main/java/cc/winboll/studio/gallery/ImageAdapter.java index d607637..833a307 100644 --- a/gallery/src/main/java/cc/winboll/studio/gallery/ImageAdapter.java +++ b/gallery/src/main/java/cc/winboll/studio/gallery/ImageAdapter.java @@ -118,7 +118,7 @@ public class ImageAdapter extends RecyclerView.Adapter notifyDataSetChanged(); } - private void showContextMenu(View view, final int position) { + private void showContextMenu(final View view, final int position) { final String imagePath = imagePaths.get(position); final Uri imageUri = imageUrls.get(position); final boolean[] isPinned = {pinnedDbHelper != null && pinnedDbHelper.isPinned(imagePath)}; @@ -244,4 +244,4 @@ public class ImageAdapter extends RecyclerView.Adapter coverIcon = itemView.findViewById(R.id.cover_icon); } } -} \ No newline at end of file +}