Skip to content
GitLab
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
e82d84cf
Commit
e82d84cf
authored
Sep 24, 2022
by
Yari Polla
Committed by
Devin Lin
Sep 24, 2022
Browse files
homescreens/halcyon: add Meta key support
parent
8522363c
Changes
1
Hide whitespace changes
Inline
Side-by-side
containments/homescreens/halcyon/package/contents/ui/main.qml
View file @
e82d84cf
...
...
@@ -39,6 +39,26 @@ MobileShell.HomeScreen {
}
}
Plasmoid.onActivated
:
{
// Always close action drawer
if
(
MobileShell
.
TopPanelControls
.
actionDrawerVisible
)
{
MobileShell
.
TopPanelControls
.
closeActionDrawer
();
}
// there's a couple of steps:
// - minimize windows (only if we are in an app)
// - open app drawer
// - close app drawer and, if necessary, restore windows
if
(
!
plasmoid
.
nativeInterface
.
showingDesktop
&&
!
MobileShell
.
HomeScreenControls
.
homeScreenVisible
)
{
plasmoid
.
nativeInterface
.
showingDesktop
=
true
;
}
else
if
(
homescreen
.
page
==
0
)
{
homescreen
.
page
=
1
;
}
else
{
plasmoid
.
nativeInterface
.
showingDesktop
=
false
;
homescreen
.
page
=
0
;
}
}
// homescreen component
contentItem
:
Item
{
HomeScreen
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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