diff --git a/uni_modules/uts-alert/utssdk/app-android/index.uts b/uni_modules/uts-alert/utssdk/app-android/index.uts index e9a36006395791ff3cd90cc3adcb9ecb99c23e88..50d53e2a95ed2101ca832e0079b8bbe50ef14e22 100644 --- a/uni_modules/uts-alert/utssdk/app-android/index.uts +++ b/uni_modules/uts-alert/utssdk/app-android/index.uts @@ -8,13 +8,14 @@ import AlertDialog from 'android.app.AlertDialog'; import DialogInterface from 'android.content.DialogInterface'; import EditText from 'android.widget.EditText'; +@Suppress("UNUSED_PARAMETER") export function showAlert(_title: string|null, _message: string|null, _result: (index: Number) => void) { // todo let uiRunable = new DialogUIRunnable(null,_title!,_message!,"",false); UTSAndroid.getUniActivity()!.runOnUiThread(uiRunable) } - +@Suppress("UNUSED_PARAMETER") export function showPrompt(_title: string|null,_message: string|null,_placeholder: string|null, success: (content: string)=>void) { let uiRunable = new DialogUIRunnable(success,_title!,_message!,_placeholder!,true); UTSAndroid.getUniActivity()!.runOnUiThread(uiRunable) diff --git a/uni_modules/uts-animation-view/utssdk/app-android/index.uts b/uni_modules/uts-animation-view/utssdk/app-android/index.uts index 16183ae36b05513812bf2b920311d66e6a4ffe89..36cf05eed0823a6921cdca5eb85e687e6c775a30 100644 --- a/uni_modules/uts-animation-view/utssdk/app-android/index.uts +++ b/uni_modules/uts-animation-view/utssdk/app-android/index.uts @@ -1,7 +1,3 @@ -import { - UTSAndroid -} from "io.dcloud.uts"; - /** * 判断当前的基座是否已经集成了sdk, 即是否是自定义基座