* Refactor for activeIdentityToken * Account selector stuff * Small refactor * Tweak * That's a wrap * comment * Lint fix * Localize * Lint fix * Close view on error * parse error when gathering tracking urls --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
18 lines
410 B
Plaintext
18 lines
410 B
Plaintext
import "pkg:/source/utils/Types.bs"
|
|
|
|
function OnContentSet() as void
|
|
content = m.top.itemContent
|
|
if content = invalid
|
|
return
|
|
end if
|
|
|
|
accountItem = content.accountItem
|
|
if not IsAssociativeArray(accountItem)
|
|
return
|
|
end if
|
|
|
|
m.top.accountPhoto = accountItem.accountPhoto
|
|
m.top.text1 = accountItem.accountName
|
|
m.top.text2 = accountItem.channelHandle
|
|
end function
|