diff --git a/OAT.xml b/OAT.xml index 4ff08fab..47f67150 100644 --- a/OAT.xml +++ b/OAT.xml @@ -71,10 +71,10 @@ Note:If the text contains special characters, please escape them according to th name="services/dialog/PasteboardDialog/entry/src/main/resources/base/media/pasteboardImg.svg" desc="hap svg image"/> diff --git a/services/dialog/PasteboardDialog/entry/src/main/ets/pages/PasteboardSwitch.ets b/services/dialog/PasteboardDialog/entry/src/main/ets/pages/PasteboardSwitch.ets index 2e5565c1..09e9ca24 100644 --- a/services/dialog/PasteboardDialog/entry/src/main/ets/pages/PasteboardSwitch.ets +++ b/services/dialog/PasteboardDialog/entry/src/main/ets/pages/PasteboardSwitch.ets @@ -47,7 +47,7 @@ struct PasteboardSwitch { @State imageHeight: number = 0; @State textWidth: number = 0; @State gapLength: number = 0; - @State videoSrc: Resource = $rawfile('pasteboard.mp4'); + @State videoSrc: Resource = $rawfile('clipboard.mp4'); @State isShow: boolean = false; @State portraitFunc: mediaQuery.MediaQueryResult | void | null = null; private videoController: VideoController | undefined = undefined; @@ -58,10 +58,10 @@ struct PasteboardSwitch { onPortrait(mediaQueryResult: mediaQuery.MediaQueryResult) { console.log(TAG + 'onPortrait in'); if (mediaQueryResult.matches as boolean) { - this.videoSrc = $rawfile('pasteboard_dark.mp4'); + this.videoSrc = $rawfile('clipboard_dark.mp4'); this.extContext?.getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_DARK); } else { - this.videoSrc = $rawfile('pasteboard.mp4'); + this.videoSrc = $rawfile('clipboard.mp4'); this.extContext?.getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_LIGHT); } } diff --git a/services/dialog/PasteboardDialog/entry/src/main/resources/rawfile/pasteboard.mp4 b/services/dialog/PasteboardDialog/entry/src/main/resources/rawfile/clipboard.mp4 similarity index 100% rename from services/dialog/PasteboardDialog/entry/src/main/resources/rawfile/pasteboard.mp4 rename to services/dialog/PasteboardDialog/entry/src/main/resources/rawfile/clipboard.mp4 diff --git a/services/dialog/PasteboardDialog/entry/src/main/resources/rawfile/pasteboard_dark.mp4 b/services/dialog/PasteboardDialog/entry/src/main/resources/rawfile/clipboard_dark.mp4 similarity index 100% rename from services/dialog/PasteboardDialog/entry/src/main/resources/rawfile/pasteboard_dark.mp4 rename to services/dialog/PasteboardDialog/entry/src/main/resources/rawfile/clipboard_dark.mp4