Fix error not shown when configuring

This commit is contained in:
Hocuri
2020-09-26 21:35:47 +02:00
parent 14399fd9f0
commit 8bc2b602c1
@@ -197,7 +197,7 @@ public class WelcomeActivity extends BaseActionBarActivity implements DcEventCen
}
public static void maybeShowConfigurationError(Activity activity, String data2) {
if (data2 != null && data2.isEmpty()) {
if (data2 != null && !data2.isEmpty()) {
AlertDialog d = new AlertDialog.Builder(activity)
.setMessage(data2)
.setPositiveButton(android.R.string.ok, null)