Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Mobile
Commits
91b4f891
Commit
91b4f891
authored
Oct 10, 2019
by
Marco Martin
Browse files
hide applet when no notifications
parent
ba9c60f5
Changes
1
Show whitespace changes
Inline
Side-by-side
applets/notifications/contents/ui/main.qml
View file @
91b4f891
...
...
@@ -35,6 +35,9 @@ Item {
Plasmoid.switchWidth
:
500
Plasmoid.switchHeight
:
500
Plasmoid.status
:
notificationsModel
.
count
>
0
?
PlasmaCore
.
Types
.
ActiveStatus
:
PlasmaCore
.
Types
.
PassiveStatus
function
addNotification
(
source
,
data
,
actions
)
{
// Do not show duplicated notifications
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment