change concatenation method to reduce intermediate
allocations.
Bug-AGL: SPEC-3364
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I2c93ffb5fc2642bddb41a55ff454132926f241fd
* FIXME: Generated URL is currently Alexa-specific, work around for
* now by checking agent name and only displaying for Alexa.
*/
- data: root.thisAgentLoginUrl + '?cbl-code=' + root.thisAgentLoginCode
+ data: "%1?cbl-code=%2".arg(root.thisAgentLoginUrl).arg(root.thisAgentLoginCode)
visible: root.thisAgentName === "Alexa" && root.thisAgentAuthState !== "REFRESHED" && root.tokenValid
background: 'white'
margin: 16