mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 03:28:28 -04:00
fix(Notifications): update flexible image caching in DankCircularImage
- Fixes #2480
This commit is contained in:
@@ -113,6 +113,7 @@ Rectangle {
|
||||
|
||||
DankCircularImage {
|
||||
id: iconContainer
|
||||
cacheImages: false
|
||||
readonly property string rawImage: historyItem.image || ""
|
||||
readonly property string iconFromImage: {
|
||||
if (rawImage.startsWith("image://icon/"))
|
||||
|
||||
@@ -268,6 +268,7 @@ Rectangle {
|
||||
|
||||
DankCircularImage {
|
||||
id: iconContainer
|
||||
cacheImages: false
|
||||
readonly property string rawImage: notificationGroup?.latestNotification?.image || ""
|
||||
readonly property string iconFromImage: {
|
||||
if (rawImage.startsWith("image://icon/"))
|
||||
@@ -610,6 +611,7 @@ Rectangle {
|
||||
|
||||
DankCircularImage {
|
||||
id: messageIcon
|
||||
cacheImages: false
|
||||
|
||||
readonly property string rawImage: modelData?.image || ""
|
||||
readonly property string iconFromImage: {
|
||||
|
||||
Reference in New Issue
Block a user