同步请求接口
This commit is contained in:
parent
53c8e212aa
commit
63c0c22419
@ -68,7 +68,7 @@ public class UpgradeModule extends ReactContextBaseJavaModule {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void _alertDialog(){
|
private void _alertDialog(){
|
||||||
final UpgradeModule that = this;
|
final UpgradeModule that = this;
|
||||||
AlertDialog dialog = new AlertDialog.Builder(reactContext.getCurrentActivity())
|
AlertDialog dialog = new AlertDialog.Builder(reactContext.getCurrentActivity())
|
||||||
.setTitle(TITLE)
|
.setTitle(TITLE)
|
||||||
@ -90,8 +90,6 @@ public class UpgradeModule extends ReactContextBaseJavaModule {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
.show();
|
.show();
|
||||||
dialog.setCanceledOnTouchOutside(true);//可选
|
|
||||||
dialog.setCancelable(true);//可选
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void _startDownload(){
|
private void _startDownload(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user