mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Update src/org/thoughtcrime/securesms/connect/AccountManager.java
Co-authored-by: Hocuri <hocuri@gmx.de>
This commit is contained in:
@@ -169,7 +169,7 @@ public class AccountManager {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(activity)
|
||||
.setTitle(R.string.switch_account)
|
||||
.setNegativeButton(R.string.cancel, null)
|
||||
.setSingleChoiceItems(menu.toArray(new String[menu.size()]), presel, (dialog, which) -> {
|
||||
.setSingleChoiceItems(menu.toArray(new String[0]), presel, (dialog, which) -> {
|
||||
dialog.dismiss();
|
||||
if (which==addAccount) {
|
||||
new SwitchAccountAsyncTask(activity, R.string.one_moment, 0, null).execute();
|
||||
|
||||
Reference in New Issue
Block a user