@@ -38,6 +38,8 @@ FocusScope {
3838 style: scope ? scope.customizations : {}
3939 }
4040
41+ readonly property bool processing: scope ? scope.searchInProgress || previewListView.processing : false
42+
4143 signal backClicked()
4244
4345 onScopeChanged: {
@@ -396,7 +398,6 @@ FocusScope {
396398 title: scopeView.scope ? scopeView.scope.name : ""
397399 showBackButton: scopeView.hasBackAction
398400 searchEntryEnabled: true
399− searchInProgress: scopeView.scope ? scopeView.scope.searchInProgress : false
400401 scopeStyle: scopeView.scopeStyle
401402
402403 bottomItem: DashDepartments {
@@ -431,46 +432,4 @@ FocusScope {
431432 pageHeader.unfocus();
432433 }
433434 }
434−
435− Rectangle {
436− id: indicator
437− anchors {
438− left: parent.left
439− right: parent.right
440− bottom: parent.bottom
441− }
442− clip: true
443− height: units.dp(3)
444− color: scopeStyle.backgroundLuminance > 0.7 ? "#50000000" : "#50ffffff"
445− visible: opacity > 0
446− opacity: scope && scope.searchInProgress && !departments.showList ? 1.0 : 0.0
447− Behavior on opacity {
448− UbuntuNumberAnimation { duration: UbuntuAnimation.FastDuration }
449− }
450−
451− Rectangle {
452− id: orange
453− anchors { top: parent.top; bottom: parent.bottom }
454− width: parent.width / 4
455− color: Theme.palette.selected.foreground
456−
457− SequentialAnimation on x {
458− running: visible
459− loops: Animation.Infinite
460− PropertyAnimation {
461− from: -orange.width / 2
462− to: indicator.width - orange.width / 2
463− duration: UbuntuAnimation.SleepyDuration
464− easing.type: Easing.InOutSine
465− }
466− PropertyAnimation {
467− from: indicator.width - orange.width / 2
468− to: -orange.width / 2
469− duration: UbuntuAnimation.SleepyDuration
470− easing.type: Easing.InOutSine
471− }
472− }
473− }
474− }
475−
476435}