申请权限时,支持选择取消授权。

This commit is contained in:
Cold-Mint 2023-06-26 10:09:00 +08:00
parent c6cc1bc212
commit fbfa342507
4 changed files with 6 additions and 2 deletions

View File

@ -76,6 +76,7 @@ dependencies {
implementation 'com.google.firebase:firebase-analytics-ktx' implementation 'com.google.firebase:firebase-analytics-ktx'
implementation 'com.google.firebase:firebase-crashlytics-ktx' implementation 'com.google.firebase:firebase-crashlytics-ktx'
implementation 'com.google.firebase:firebase-perf-ktx' implementation 'com.google.firebase:firebase-perf-ktx'
implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude: [])
def nav_version = "2.5.1" def nav_version = "2.5.1"
@ -112,7 +113,6 @@ dependencies {
implementation 'com.github.bumptech.glide:glide:4.11.0' implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'jp.wasabeef:glide-transformations:4.3.0' implementation 'jp.wasabeef:glide-transformations:4.3.0'
implementation 'com.github.florent37:glidepalette:2.1.2' implementation 'com.github.florent37:glidepalette:2.1.2'
implementation 'com.github.QuadFlask:colorpicker:0.0.15'
implementation 'cat.ereza:customactivityoncrash:2.3.0' implementation 'cat.ereza:customactivityoncrash:2.3.0'
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
implementation 'androidx.appcompat:appcompat:1.5.0' implementation 'androidx.appcompat:appcompat:1.5.0'

Binary file not shown.

View File

@ -300,7 +300,7 @@ object GlobalMethod {
scope.showRequestReasonDialog( scope.showRequestReasonDialog(
deniedList, deniedList,
activity.getString(R.string.dialog_title), activity.getString(R.string.dialog_title),
activity.getString(R.string.dialog_confirm) activity.getString(R.string.dialog_confirm),activity.getString(R.string.dialog_cancel)
) )
} }
.request { allGranted, grantedList, deniedList -> .request { allGranted, grantedList, deniedList ->

View File

@ -12,6 +12,10 @@
name="share_map" name="share_map"
path="rustedWarfare/maps" /> path="rustedWarfare/maps" />
<external-path
name="root"
path="." />
<external-path <external-path
name="bin" name="bin"
path="rustAssistant/bin" /> path="rustAssistant/bin" />