linked: correctly show errors in linked id wizard
This commit is contained in:
@@ -208,18 +208,12 @@ public abstract class LinkedIdCreateFinalFragment extends CryptoOperationFragmen
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCryptoOperationSuccess(OperationResult result) {
|
public void onCryptoOperationSuccess(OperationResult result) {
|
||||||
// if bad -> display here!
|
|
||||||
if (!result.success()) {
|
|
||||||
result.createNotify(getActivity()).show(LinkedIdCreateFinalFragment.this);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
getActivity().finish();
|
getActivity().finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCryptoOperationError(OperationResult result) {
|
public void onCryptoOperationError(OperationResult result) {
|
||||||
|
result.createNotify(getActivity()).show(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user