Commit 5d039818 authored by Grigory Fedorov's avatar Grigory Fedorov

After account adding account preferences screen is opened.

parent c6889da4
......@@ -18,6 +18,7 @@ import com.xabber.android.data.account.AccountManager;
import com.xabber.android.data.account.AccountType;
import com.xabber.android.ui.dialog.OrbotInstallerDialogBuilder;
import com.xabber.android.ui.helper.OrbotHelper;
import com.xabber.android.ui.preferences.AccountEditor;
import com.xabber.androiddev.R;
public class AccountAddFragment extends Fragment implements View.OnClickListener {
......@@ -100,6 +101,7 @@ public class AccountAddFragment extends Fragment implements View.OnClickListener
}
getActivity().setResult(Activity.RESULT_OK, AccountAdd.createAuthenticatorResult(account));
startActivity(AccountEditor.createIntent(getActivity(), account));
getActivity().finish();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment