File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/main/java/com/adguard/android/contentblocker/ui Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ android {
18
18
minSdkVersion 21
19
19
targetSdkVersion 28
20
20
applicationId ' com.adguard.android.contentblocker'
21
- versionCode 22000003
22
- versionName ' 2.5.2 '
21
+ versionCode 22000004
22
+ versionName ' 2.5.3 '
23
23
signingConfig signingConfigs. config
24
24
}
25
25
Original file line number Diff line number Diff line change @@ -200,6 +200,9 @@ private void showRateDialog(Intent intent) {
200
200
return ;
201
201
}
202
202
203
+ // We show notification MAX_RATE_DIALOG_COUNT times or while user didn't push a notification
204
+ preferencesService .setAppRated (true );
205
+
203
206
int filledCount = intent .getIntExtra (STARS_COUNT , 0 );
204
207
final View dialogLayout = LayoutInflater .from (this ).inflate (R .layout .rate_dialog , null );
205
208
final ViewGroup starsLayout = dialogLayout .findViewById (R .id .stars_layout );
@@ -222,7 +225,6 @@ private void showRateDialog(Intent intent) {
222
225
View .OnClickListener buttonsListener = v -> {
223
226
if (v .getId () == R .id .button_submit ) {
224
227
// TODO collect feedback
225
- preferencesService .setAppRated (true );
226
228
showFeedbackSubmitDialog ();
227
229
}
228
230
preferencesService .increaseRateAppDialogCount ();
You can’t perform that action at this time.
0 commit comments