diff --git a/apptentive/src/main/java/com/apptentive/android/sdk/ApptentiveViewActivity.java b/apptentive/src/main/java/com/apptentive/android/sdk/ApptentiveViewActivity.java
index <HASH>..<HASH> 100644
--- a/apptentive/src/main/java/com/apptentive/android/sdk/ApptentiveViewActivity.java
+++ b/apptentive/src/main/java/com/apptentive/android/sdk/ApptentiveViewActivity.java
@@ -408,7 +408,7 @@ public class ApptentiveViewActivity extends ApptentiveComponentActivity
 	//region User log out listener
 	@Override
 	public void onUserLogOut() {
-		if (isFinishing()) {
+		if (!isFinishing()) {
 			finish();
 		}
 	}
Fixed dismissing ApptentiveViewActivity on user log out