mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-23 21:07:45 +00:00
Give account name to avatar
This commit is contained in:
parent
22a99ecbd8
commit
95ad51c6f5
2 changed files with 2 additions and 0 deletions
|
@ -147,6 +147,7 @@ QQC2.Control {
|
||||||
description: LauncherCore.currentProfile.account.name
|
description: LauncherCore.currentProfile.account.name
|
||||||
|
|
||||||
leading: Components.Avatar {
|
leading: Components.Avatar {
|
||||||
|
name: LauncherCore.currentProfile.account.name
|
||||||
source: LauncherCore.currentProfile.account.avatarUrl
|
source: LauncherCore.currentProfile.account.avatarUrl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@ FormCard.FormCardPage {
|
||||||
description: account.isSapphire ? i18n("Sapphire") : i18n("Square Enix")
|
description: account.isSapphire ? i18n("Sapphire") : i18n("Square Enix")
|
||||||
|
|
||||||
leading: Components.Avatar {
|
leading: Components.Avatar {
|
||||||
|
name: account.name
|
||||||
source: account.avatarUrl
|
source: account.avatarUrl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue