chore(StatusIcon): Include Object Name to Status Icon (#761)
* Include auto generated object names for all Icons. This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274 * Include auto generated object names for all Icons. This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274 * Include auto generated object names for all Icons. This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274 * refactor(isContact): rename isMutualContact to isContact BREAKING CHANGE: isMutualContact is replaced by isContact anywhere it was used * fix(StatusStackModal): init the next/finish buttons call `updateRightButtons()` also on creation to correctly initialize the Next and Finish buttons in derived classes, when one overrrides these can be seen in the Backup Seed dialog where the Next button is not enabled even though all 3 boxes are checked * feat(StatusFontSettings): Add StatusFontSettings component to change StatusMenuItems font attributes (#749) Required by #6090 * fix(StatusPinInput): `forceFocus` function exposed * fix(StatusTagSelector): corrected font size in to label Needed for https://github.com/status-im/status-desktop/issues/6349 * fix(StatusActivityCenterButton): fixed actvity icon position (#763) Closes https://github.com/status-im/status-desktop/issues/6350 * Include auto generated object names for all Icons. This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274 * Include auto generated object names for all Icons. This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274 * Include auto generated object names for all Icons. This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274 Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com> Co-authored-by: Lukáš Tinkl <lukast@status.im> Co-authored-by: Michał Iskierko <61889657+endulab@users.noreply.github.com> Co-authored-by: Sale Djenic <aleksandardjenic@status.im> Co-authored-by: Alexandra Betouni <31625338+alexandraB99@users.noreply.github.com>
This commit is contained in:
parent
c63ecee172
commit
d9feeff1a9
|
@ -15,6 +15,7 @@ Image {
|
|||
onIconChanged: {
|
||||
if (icon !== "") {
|
||||
source = "../../assets/img/icons/" + icon + ".svg";
|
||||
objectName = icon + "-icon"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue