From 6d74c4c16f0b7da6eb50ddaf5519f3a29bf4d8d4 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sun, 6 Sep 2020 17:20:11 -0700 Subject: [PATCH] don't allow release builds to invite using mqtt Duh... --- .../main/java/org/eehouse/android/xw4/InviteChoicesAlert.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/InviteChoicesAlert.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/InviteChoicesAlert.java index 4722105d2..1e03d986c 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/InviteChoicesAlert.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/InviteChoicesAlert.java @@ -69,7 +69,7 @@ public class InviteChoicesAlert extends DlgDelegateAlert { if ( BuildConfig.NON_RELEASE ) { add( items, means, R.string.invite_choice_relay, InviteMeans.RELAY ); } - if ( BuildConfig.OFFER_MQTT ) { + if ( BuildConfig.NON_RELEASE && BuildConfig.OFFER_MQTT ) { add( items, means, R.string.invite_choice_mqtt, InviteMeans.MQTT ); } if ( WiDirWrapper.enabled() ) {