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