mirror of
https://github.com/M66B/FairEmail.git
synced 2026-05-02 05:36:51 +02:00
Fixed returning to sharer
This commit is contained in:
@@ -77,7 +77,7 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
|
||||
Intent intent = getIntent();
|
||||
|
||||
String action = intent.getAction();
|
||||
boolean shared = (isShared(action) && !intent.hasExtra("fair:account"));
|
||||
boolean shared = (intent.hasExtra("fair:shared") && !intent.hasExtra("fair:account"));
|
||||
boolean widget = (action != null && action.startsWith("widget:"));
|
||||
|
||||
String[] tos = intent.getStringArrayExtra(Intent.EXTRA_EMAIL);
|
||||
@@ -309,6 +309,7 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
|
||||
}
|
||||
|
||||
if (isShared(action)) {
|
||||
intent.putExtra("fair:shared", true);
|
||||
args.putString("action", "new");
|
||||
args.putLong("account",
|
||||
intent.getLongExtra("fair:account", -1L));
|
||||
|
||||
Reference in New Issue
Block a user