move QR-Code to top of local invite-means list

It'll be the most often used I suspect so make it easier to find.
This commit is contained in:
Eric House 2021-01-28 16:21:29 -08:00
parent 8dd1db31c7
commit 457955c40e

View file

@ -99,6 +99,7 @@ public class InviteChoicesAlert extends DlgDelegateAlert
if ( Utils.deviceSupportsNBS(context) ) {
means.add( InviteMeans.SMS_DATA );
}
means.add( InviteMeans.QRCODE );
if ( BTUtils.BTAvailable() ) {
means.add( InviteMeans.BLUETOOTH );
}
@ -109,7 +110,6 @@ public class InviteChoicesAlert extends DlgDelegateAlert
means.add( InviteMeans.NFC );
}
means.add( InviteMeans.CLIPBOARD );
means.add( InviteMeans.QRCODE );
int lastSelMeans = -1;
if ( null != lastMeans ) {