修复了仓库权限BUG
This commit is contained in:
parent
bef72863ae
commit
a8822131b1
|
@ -32,7 +32,7 @@ android {
|
||||||
minSdkVersion 23
|
minSdkVersion 23
|
||||||
targetSdkVersion 33
|
targetSdkVersion 33
|
||||||
versionCode 28
|
versionCode 28
|
||||||
versionName "2.1.1 Bata6(2024-4-18)"
|
versionName "2.1.1 Test1(2024-4-18)"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,8 +45,10 @@ class WarehouseFragment : BaseFragment<FragmentWarehouseBinding>() {
|
||||||
}
|
}
|
||||||
.onForwardToSettings { scope, deniedList ->
|
.onForwardToSettings { scope, deniedList ->
|
||||||
scope.showForwardToSettingsDialog(deniedList, "您需要手动允许设置中的必要权限", "授权", "取消")
|
scope.showForwardToSettingsDialog(deniedList, "您需要手动允许设置中的必要权限", "授权", "取消")
|
||||||
|
}.request { allGranted, _, _ ->
|
||||||
|
if (allGranted) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isAdded) {
|
if (isAdded) {
|
||||||
val mainActivity = activity as MainActivity
|
val mainActivity = activity as MainActivity
|
||||||
/* if (tableLayout == null) {
|
/* if (tableLayout == null) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user