forward intent when changing the account

This commit is contained in:
Thomas 2023-09-10 11:57:30 +02:00
parent d7d5f286f5
commit ac6d9f430e

View file

@ -752,6 +752,10 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
editor.commit();
Intent mainActivity = new Intent(activity, MainActivity.class);
mainActivity.putExtra(Helper.INTENT_ACTION, Helper.OPEN_NOTIFICATION);
Bundle bundle = intent.getExtras();
if (bundle != null) {
mainActivity.putExtras(bundle);
}
activity.startActivity(mainActivity);
activity.finish();
} catch (DBException e) {