12-21-2017 15:58
12-21-2017 15:58
Hello,
I added Icons to my select.
<Select
label={'Background Image'}
settingsKey="myPic"
options={[
{name: "Kentucky.png", value : {icon: img2}},
{name: "Canyon.png", value : {icon: img3}},
{name: "Ohio.png", value : {icon: img4}},
{name: "Split.png", value : {icon: img5}},
{name: "Hawaii.png", value : {icon: img6}},
{name: "Bahamas.png", value : {icon: img7}}
]}
renderItem={
(option) =>
<TextImageRow
label={option.name}
sublabel="Images"
icon={option.value.icon}
/>
}
/>Everything displays correctly, but I get the following error and my picture does not update. Any thoughts?
[6:35:46 PM]RangeError: Encoded data too large: 44809 bytes
Answered! Go to the Best Answer.
Best Answer01-09-2018 16:16
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
01-09-2018 16:16
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.