mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 21:45:38 -05:00
use variants for multi display volume popup/toast/notification
This commit is contained in:
@@ -5,6 +5,9 @@ import qs.Services
|
||||
|
||||
QtObject {
|
||||
id: manager
|
||||
|
||||
property var modelData
|
||||
|
||||
property int topMargin: 0
|
||||
property int baseNotificationHeight: 120
|
||||
property int maxTargetNotifications: 3
|
||||
@@ -84,7 +87,8 @@ QtObject {
|
||||
const win = popupComponent.createObject(null, {
|
||||
notificationData: wrapper,
|
||||
notificationId: notificationId,
|
||||
screenY: topMargin
|
||||
screenY: topMargin,
|
||||
screen: manager.modelData
|
||||
});
|
||||
|
||||
if (!win) {
|
||||
|
||||
Reference in New Issue
Block a user