Skip to content

Commit

Permalink
Merge branch 'development' of github.com:BlueBubblesApp/BlueBubbles-A…
Browse files Browse the repository at this point in the history
…ndroid-App into development
  • Loading branch information
zlshames committed Sep 24, 2021
2 parents f5660e2 + 6fde0db commit e3163d7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected void onNewIntent(Intent intent) {
} else {
handleShareFile(intent);
}
} else if (Intent.ACTION_SEND_MULTIPLE.equals(action) && type != null) {
} else if (Intent.ACTION_SEND_MULTIPLE.equals(action)) {
handleSendMultipleImages(intent);
} else {
if (type.equals("NotificationOpen") || type.equals("DirectShare")) {
Expand Down Expand Up @@ -178,7 +178,6 @@ List<String> readPathsFromIntent(Intent intent) {
return images;
}


void handleSendText(Intent intent) {
String sharedText = intent.getStringExtra(Intent.EXTRA_TEXT);
if (sharedText != null) {
Expand All @@ -189,6 +188,8 @@ void handleSendText(Intent intent) {
id = intent.getStringExtra(Intent.EXTRA_SHORTCUT_ID);
input.put("id", id);
new MethodChannel(engine.getDartExecutor().getBinaryMessenger(), CHANNEL).invokeMethod("shareText", input);
} else {
handleShareFile(intent);
}
}

Expand Down

0 comments on commit e3163d7

Please sign in to comment.