mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-19 01:34:02 -04:00
avatar: material person glyph instead of an app icon lookup
fixes #3600
This commit is contained in:
@@ -848,7 +848,7 @@ Item {
|
||||
return encodeFileUrl(PortalService.profileImage);
|
||||
return PortalService.profileImage;
|
||||
}
|
||||
fallbackIcon: "person"
|
||||
fallbackIcon: "material:person"
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
||||
@@ -137,7 +137,7 @@ Item {
|
||||
ringWidth: Theme.avatarRingWidth
|
||||
ringColor: Theme.avatarRingColor
|
||||
imageSource: root.profileImageSource(userRow.modelData.username)
|
||||
fallbackIcon: "person"
|
||||
fallbackIcon: "material:person"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ Column {
|
||||
ringColor: Theme.avatarRingColor
|
||||
height: width
|
||||
imageSource: PortalService.profileImage
|
||||
fallbackIcon: "person"
|
||||
fallbackIcon: "material:person"
|
||||
}
|
||||
|
||||
DankActionButton {
|
||||
@@ -48,22 +48,28 @@ Column {
|
||||
SettingsDropdownRow {
|
||||
id: ringRow
|
||||
|
||||
readonly property var rings: [{
|
||||
readonly property var rings: [
|
||||
{
|
||||
"value": "none",
|
||||
"label": I18n.tr("None")
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"value": "outline",
|
||||
"label": I18n.tr("Outline")
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"value": "primary",
|
||||
"label": I18n.tr("Primary")
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"value": "secondary",
|
||||
"label": I18n.tr("Secondary")
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"value": "tertiary",
|
||||
"label": I18n.tr("Tertiary")
|
||||
}]
|
||||
}
|
||||
]
|
||||
|
||||
settingKey: "avatarRing"
|
||||
tags: ["user", "account", "profile", "avatar", "ring", "border", "color"]
|
||||
|
||||
Reference in New Issue
Block a user