mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-27 01:01:06 +00:00
update feature/browser/src/main/ets/default/view/photo/PhotoBrowserToolBar.ets.
Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
parent
eba2aa61d6
commit
fac63bbbc7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user