some minor changes

This commit is contained in:
pokkst 2022-09-12 12:40:44 -05:00
parent 4089e22bc5
commit 158268bac0
No known key found for this signature in database
GPG Key ID: 90C2ED85E67A50FF

View File

@ -91,7 +91,10 @@ public class SendBottomSheetDialog extends BottomSheetDialogFragment {
pasteAddressImageButton.setOnClickListener(view1 -> {
Context ctx = getContext();
if(ctx != null) {
pasteAddress(Helper.getClipBoardText(getContext()));
String clipboard = Helper.getClipBoardText(ctx);
if(clipboard != null) {
pasteAddress(clipboard);
}
}
});