mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Open app drawer directly from homescreen
Skip the intermediate go-to-page-0 step when pressing Home while already on the homescreen in convergence mode.
This commit is contained in:
parent
00a9ac1c4d
commit
769211cf75
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ ContainmentItem {
|
||||||
} else { // If we are already on the homescreen
|
} else { // If we are already on the homescreen
|
||||||
switch (folio.HomeScreenState.viewState) {
|
switch (folio.HomeScreenState.viewState) {
|
||||||
case Folio.HomeScreenState.PageView:
|
case Folio.HomeScreenState.PageView:
|
||||||
if (folio.HomeScreenState.currentPage === 0) {
|
if (ShellSettings.Settings.convergenceModeEnabled || folio.HomeScreenState.currentPage === 0) {
|
||||||
folio.HomeScreenState.openAppDrawer();
|
folio.HomeScreenState.openAppDrawer();
|
||||||
} else {
|
} else {
|
||||||
folio.HomeScreenState.goToPage(0, false);
|
folio.HomeScreenState.goToPage(0, false);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue