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