Bugfix: initialize list after authentication

This commit is contained in:
str4d
2014-08-28 12:59:44 +00:00
parent 28d0e73add
commit b31848bb97

View File

@@ -159,7 +159,16 @@ public class EmailListFragment extends ListFragment implements
BoteHelper.getFolderDisplayName(getActivity(), mFolder));
if (I2PBote.getInstance().isPasswordRequired()) {
// Request a password from the user.
BoteHelper.requestPassword(getActivity(), null);
BoteHelper.requestPassword(getActivity(), new BoteHelper.RequestPasswordListener() {
@Override
public void onPasswordVerified() {
initializeList();
}
@Override
public void onPasswordCanceled() {
}
});
}
}
}