Skip to content

Commit

Permalink
Place toast notifications above VKB position
Browse files Browse the repository at this point in the history
Otherwise, the toast notifications are hidden by the VKB layer.
  • Loading branch information
blammit committed Jul 24, 2024
1 parent e3d7f09 commit 1a7026e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/NotificationLayer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Item {
id: root

anchors.fill: parent
anchors.bottomMargin: Qt.inputMethod && Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0

function showToastNotification(category, text, autoCloseInterval = 0) {
var toast = toaster.createObject(root, { "category": category, "text": text, autoCloseInterval: autoCloseInterval })
Expand Down

0 comments on commit 1a7026e

Please sign in to comment.