[BugFix]修复授权码页面报错
This commit is contained in:
@@ -1038,7 +1038,7 @@ public class AuthModel extends BaseModel implements IAuthModel {
|
|||||||
*/
|
*/
|
||||||
public Single<String> boundAuthCode(String authCode) {
|
public Single<String> boundAuthCode(String authCode) {
|
||||||
return api.boundAuthCode(authCode)
|
return api.boundAuthCode(authCode)
|
||||||
.compose(RxHelper.handleBeanData())
|
.compose(RxHelper.handleStringData())
|
||||||
.compose(RxHelper.handleSchedulers());
|
.compose(RxHelper.handleSchedulers());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -45,20 +45,7 @@ public abstract class PickImageAction extends BaseAction {
|
|||||||
int requestCode = makeRequestCode(RequestCode.PICK_IMAGE);
|
int requestCode = makeRequestCode(RequestCode.PICK_IMAGE);
|
||||||
showSelector(getTitleId(), requestCode, multiSelect, tempFile());
|
showSelector(getTitleId(), requestCode, multiSelect, tempFile());
|
||||||
|
|
||||||
// (DialogFragmentUtils.show("photoDialog", this, PhotoDialog::class.java) as? PhotoDialog)
|
|
||||||
// ?.setOnResultCallBack(object : PhotoDialog.OnResultCallBack {
|
|
||||||
// override fun takePhotoCallBack(path: String?) {
|
|
||||||
// path?.also {
|
|
||||||
// mGroupPhotoPath = it
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// override fun choicePhotoCallBack(paths: List<String>?) {
|
|
||||||
// if (paths != null && paths.isNotEmpty()) {
|
|
||||||
// mGroupPhotoPath = paths[0]
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private String tempFile() {
|
private String tempFile() {
|
||||||
@@ -99,7 +86,6 @@ public abstract class PickImageAction extends BaseAction {
|
|||||||
*/
|
*/
|
||||||
private void onPickImageActivityResult(int requestCode, Intent data) {
|
private void onPickImageActivityResult(int requestCode, Intent data) {
|
||||||
if (data == null) {
|
if (data == null) {
|
||||||
// Toast.makeText(getActivity(), R.string.picker_image_error, Toast.LENGTH_LONG).show();
|
|
||||||
SingleToastUtil.showToastShort(R.string.picker_image_error);
|
SingleToastUtil.showToastShort(R.string.picker_image_error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user