fixed showing QR code on long press
This commit is contained in:
parent
e11fafcf52
commit
759498ac3a
|
@ -847,7 +847,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
activity.showQrCode();
|
activity.showQrCode(conversation.getAccount().getShareableUri());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
messageListAdapter.setOnQuoteListener(this::quoteText);
|
messageListAdapter.setOnQuoteListener(this::quoteText);
|
||||||
|
|
|
@ -901,7 +901,10 @@ public abstract class XmppActivity extends AppCompatActivity {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void showQrCode() {
|
protected void showQrCode() {
|
||||||
final String uri = getShareableUri();
|
showQrCode(getShareableUri());
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void showQrCode(final String uri) {
|
||||||
if (uri == null || uri.isEmpty()) {
|
if (uri == null || uri.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue