mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-27 09:12:32 +00:00
update common/src/main/ets/default/view/actionbar/ToolBar.ets.
Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
parent
dce0cc4b63
commit
df7ac9d179
@ -39,7 +39,7 @@ export struct ToolBar {
|
||||
@State actionBarProp: ActionBarProp = new ActionBarProp();
|
||||
@Consume @Watch("isNeedHidePopup") hidePopup: boolean;
|
||||
private isFromPhotoBrowser = false;
|
||||
private isFromTrash: boolean;
|
||||
private isFromCamera: boolean;
|
||||
private isFromFACard: boolean;
|
||||
|
||||
aboutToAppear(): void {
|
||||
@ -167,7 +167,7 @@ export struct ToolBar {
|
||||
right: $r('app.float.actionbar_margin_horizontal') })
|
||||
}
|
||||
.margin({
|
||||
bottom: this.isFromTrash || this.isFromFACard ? this.leftBlank[3] : Constants.NUMBER_0
|
||||
bottom: this.isFromCamera || this.isFromFACard ? this.leftBlank[3] : Constants.NUMBER_0
|
||||
})
|
||||
.width(Constants.PERCENT_100)
|
||||
.backgroundColor(this.isFromPhotoBrowser ? $r('app.color.transparent') : this.actionBarProp.getBackgroundColor())
|
||||
|
Loading…
Reference in New Issue
Block a user