We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33fa35e commit 803361fCopy full SHA for 803361f
library/src/main/java/com/vorlonsoft/android/rate/AppRate.java
@@ -925,7 +925,7 @@ public boolean isShowingRateDialog() {
925
*/
926
@SuppressWarnings("WeakerAccess")
927
public void dismissRateDialog() {
928
- if ((dialog != null) && (dialog.get() != null)) {
+ if ((dialog != null) && (dialog.get() != null) && dialog.get().isShowing()) {
929
dialog.get().dismiss();
930
}
931
clearRateDialog();
0 commit comments