don't allow release builds to invite using mqtt

Duh...
This commit is contained in:
Eric House 2020-09-06 17:20:11 -07:00
parent 85969fb913
commit 6d74c4c16f

View file

@ -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() ) {