Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 390cbf5

Browse files
committed
Version 0.3.0
1 parent a11c288 commit 390cbf5

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ EasyPermissions is installed by adding the following dependency to your `build.g
99

1010
```groovy
1111
dependencies {
12-
compile 'pub.devrel:easypermissions:0.2.1'
12+
compile 'pub.devrel:easypermissions:0.3.0'
1313
}
1414
```
1515

@@ -120,12 +120,7 @@ public void onPermissionsDenied(int requestCode, List<String> perms) {
120120
// (Optional) Check whether the user denied any permissions and checked "NEVER ASK AGAIN."
121121
// This will display a dialog directing them to enable the permission in app settings.
122122
if (EasyPermissions.somePermissionPermanentlyDenied(this, perms)) {
123-
new AppSettingsDialog.Builder(this, getString(R.string.rationale_ask_again))
124-
.setTitle(getString(R.string.title_settings_dialog))
125-
.setPositiveButton(getString(R.string.setting))
126-
.setNegativeButton(getString(R.string.cancel))
127-
.build()
128-
.show();
123+
new AppSettingsDialog.Builder(this).build().show();
129124
}
130125
}
131126

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ext {
2929

3030
mavenGroup = 'pub.devrel'
3131
mavenArtifactId = 'easypermissions'
32-
mavenVersion = '0.2.1'
32+
mavenVersion = '0.3.0'
3333

3434
bintrayOrg = 'easygoogle'
3535

0 commit comments

Comments
 (0)