mirror of
https://gitee.com/openharmony/applications_photos
synced 2025-02-17 05:38:21 +00:00
update feature/timeline/src/main/ets/view/TimelinePage.ets.
Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
parent
e9fc1b8652
commit
a48fa0452d
@ -567,7 +567,6 @@ export struct TimelinePage {
|
|||||||
Log.info(TAG, `onDeleteStart`);
|
Log.info(TAG, `onDeleteStart`);
|
||||||
this.deleteMode = true;
|
this.deleteMode = true;
|
||||||
this.isDataFreeze = true;
|
this.isDataFreeze = true;
|
||||||
this.onModeChange();
|
|
||||||
if (this.dataSource != null) {
|
if (this.dataSource != null) {
|
||||||
this.dataSource.unregisterTimelineObserver();
|
this.dataSource.unregisterTimelineObserver();
|
||||||
this.dataSource.freeze();
|
this.dataSource.freeze();
|
||||||
@ -577,6 +576,7 @@ export struct TimelinePage {
|
|||||||
onDeleteEnd(): void {
|
onDeleteEnd(): void {
|
||||||
Log.info(TAG, `onDeleteEnd`);
|
Log.info(TAG, `onDeleteEnd`);
|
||||||
this.isDataFreeze = false;
|
this.isDataFreeze = false;
|
||||||
|
this.onModeChange();
|
||||||
if (this.dataSource != null) {
|
if (this.dataSource != null) {
|
||||||
this.dataSource.registerTimelineObserver();
|
this.dataSource.registerTimelineObserver();
|
||||||
this.dataSource.onChange('image');
|
this.dataSource.onChange('image');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user