From a8822131b1bc19c220c6300e74a95675515241a8 Mon Sep 17 00:00:00 2001 From: muqing <1966944300@qq.com> Date: Thu, 18 Apr 2024 14:26:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E6=9D=83=E9=99=90BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 2 +- .../java/com/coldmint/rust/pro/fragments/WarehouseFragment.kt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 640390f..d10fb7a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,7 +32,7 @@ android { minSdkVersion 23 targetSdkVersion 33 versionCode 28 - versionName "2.1.1 Bata6(2024-4-18)" + versionName "2.1.1 Test1(2024-4-18)" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/com/coldmint/rust/pro/fragments/WarehouseFragment.kt b/app/src/main/java/com/coldmint/rust/pro/fragments/WarehouseFragment.kt index a97d814..db8feb0 100644 --- a/app/src/main/java/com/coldmint/rust/pro/fragments/WarehouseFragment.kt +++ b/app/src/main/java/com/coldmint/rust/pro/fragments/WarehouseFragment.kt @@ -45,8 +45,10 @@ class WarehouseFragment : BaseFragment() { } .onForwardToSettings { scope, deniedList -> scope.showForwardToSettingsDialog(deniedList, "您需要手动允许设置中的必要权限", "授权", "取消") + }.request { allGranted, _, _ -> + if (allGranted) { + } } - if (isAdded) { val mainActivity = activity as MainActivity /* if (tableLayout == null) {