update feature/browser/src/main/ets/default/view/photo/PhotoBrowserToolBar.ets.

Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
liujuan 2023-07-24 02:40:57 +00:00 committed by Gitee
parent eba2aa61d6
commit fac63bbbc7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -34,8 +34,7 @@ export struct PhotoBrowserToolBar {
noAnimation: boolean = true;
@Consume hidePopup: boolean;
private isFromPhotoBrowser = false;
private isFromCamera: boolean;
private isFromFACard: boolean;
private isFromTrash: boolean;
aboutToAppear(): void {
Log.debug(TAG, `isShowBar=${this.isShowBar}, isHorizontal=${this.isHorizontal}`);
@ -71,8 +70,7 @@ export struct PhotoBrowserToolBar {
ToolBar({
onMenuClicked: this.onMenuClicked,
isFromPhotoBrowser: this.isFromPhotoBrowser,
isFromCamera: this.isFromCamera,
isFromFACard: this.isFromFACard
isFromTrash: this.isFromTrash
})
}
.width(Constants.PERCENT_100)