Prepare release 1.50.2
This commit is contained in:
parent
95edb52cd0
commit
e4a6b90e9f
|
@ -7,8 +7,8 @@ android {
|
|||
applicationId "fr.gouv.etalab.mastodon"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 28
|
||||
versionCode 211
|
||||
versionName "1.50.1"
|
||||
versionCode 212
|
||||
versionName "1.50.2"
|
||||
multiDexEnabled true
|
||||
}
|
||||
dexOptions {
|
||||
|
|
|
@ -1587,6 +1587,7 @@ public class Helper {
|
|||
editor.putString(Helper.PREF_KEY_ID, accountChoice.getId());
|
||||
editor.putString(Helper.PREF_INSTANCE, accountChoice.getInstance().trim());
|
||||
editor.commit();
|
||||
Toasty.info(activity, activity.getString(R.string.toast_account_changed, "@" + accountChoice.getAcct() + "@" + accountChoice.getInstance()), Toast.LENGTH_LONG).show();
|
||||
Intent changeAccount = new Intent(activity, MainActivity.class);
|
||||
changeAccount.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
|
||||
activity.finish();
|
||||
|
|
Loading…
Reference in New Issue