diff --git a/Modules/Notifications/Content.qml b/Modules/Notifications/Content.qml index 5da4ddf..5655b5f 100644 --- a/Modules/Notifications/Content.qml +++ b/Modules/Notifications/Content.qml @@ -194,8 +194,7 @@ Item { } component Anim: NumberAnimation { - duration: MaterialEasing.expressiveEffectsTime - easing.bezierCurve: MaterialEasing.expressiveEffects - easing.type: Easing.BezierSpline + duration: Appearance.anim.durations.expressiveDefaultSpatial + easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial } } diff --git a/Modules/Notifications/Wrapper.qml b/Modules/Notifications/Wrapper.qml index e430a0c..7f53293 100644 --- a/Modules/Notifications/Wrapper.qml +++ b/Modules/Notifications/Wrapper.qml @@ -13,23 +13,6 @@ Item { implicitWidth: content.implicitWidth visible: height > 0 - states: State { - name: "hidden" - when: root.visibilities.sidebar || root.visibilities.dashboard || (root.panels.popouts.hasCurrent && root.panels.popouts.currentName.startsWith("traymenu")) - - PropertyChanges { - root.implicitHeight: 0 - } - } - transitions: Transition { - Anim { - duration: Appearance.anim.durations.expressiveDefaultSpatial - easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial - property: "implicitHeight" - target: root - } - } - Content { id: content