Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhangbo1_wd
2024-05-14 18:21:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f0c8b4141a5e6cac8a401e01a0d342bc8001c424
f0c8b414
1 parent
9339236a
toast居中。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sight_harmony/commons/wdKit/src/main/ets/utils/ToastUtils.ets
sight_harmony/commons/wdKit/src/main/ets/utils/ToastUtils.ets
View file @
f0c8b41
...
...
@@ -5,7 +5,7 @@ export class ToastUtils {
private static shortToastTime: number = 1000
static showToast(message: ResourceStr, duration: number) {
prompt.showToast({ message: message, duration: duration })
prompt.showToast({ message: message, duration: duration
, alignment: Alignment.Center
})
}
static shortToast(message: ResourceStr) {
...
...
Please
register
or
login
to post a comment