File tree 1 file changed +2
-22
lines changed
1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change 36
36
property int maxPromptCount: 3
37
37
38
38
// Cooldown in days between two review prompts
39
- property int cooldownDays: 30
39
+ property int cooldownDays: 14
40
40
41
41
// Minimum active time the user has to spend before the
42
42
// first request/between requests
73
73
// conditions are met
74
74
function showReviewPromptOnDemand () {
75
75
if (reviewPromptConditionsMet ()) {
76
- feedbackDialog . open ();
76
+ _requestReview ();
77
77
}
78
78
}
79
79
@@ -104,11 +104,6 @@ Item {
104
104
console .warn (" Review requests are only supported on iOS." );
105
105
}
106
106
107
- function handleNegativeFeedback () {
108
- // TODO: Do we need a special treatment
109
- // for rejected review requests?
110
- }
111
-
112
107
function _daysSince (dateString ) {
113
108
let date = new Date (dateString);
114
109
let now = new Date ();
@@ -140,19 +135,4 @@ Item {
140
135
}
141
136
}
142
137
}
143
-
144
- Dialog {
145
- id: feedbackDialog
146
- title: " Feedback"
147
- anchors .centerIn : parent
148
- modal: true
149
- standardButtons: Dialog .Ok | Dialog .Cancel
150
- onAccepted: _requestReview ()
151
- onRejected: handleNegativeFeedback ()
152
-
153
- Text {
154
- id: _feedbackDialogText
155
- anchors .centerIn : parent
156
- }
157
- }
158
138
}
You can’t perform that action at this time.
0 commit comments