♻️ refactor(widget/notification): remove unused variable, use latest pango instead of specifying 1.0
This commit is contained in:
@@ -4,11 +4,9 @@ import { Separator } from "./Separator";
|
||||
import { HistoryNotification, Notifications } from "../scripts/notifications";
|
||||
import { GLib } from "astal";
|
||||
import { getAppIcon } from "../scripts/apps";
|
||||
import Pango from "gi://Pango?version=1.0";
|
||||
import Pango from "gi://Pango";
|
||||
|
||||
|
||||
export let NOTIFICATION_MAX_WORD_CHAR_SIZE = 25;
|
||||
|
||||
function getNotificationImage(notif: AstalNotifd.Notification|HistoryNotification): (string|undefined) {
|
||||
const img = notif.image || notif.appIcon;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user