show device icon and name in session list

This commit is contained in:
MaysWind
2020-11-17 21:49:01 +08:00
parent 4c706282d5
commit 68233852e7
12 changed files with 135 additions and 4 deletions
+18
View File
@@ -65,10 +65,28 @@ const allAccountIcons = {
f7Icon: 'bitcoin'
}
};
const deviceIcons = {
mobile: {
f7Icon: 'device_phone_portrait'
},
tablet: {
f7Icon: 'device_tablet_portrait'
},
wearable: {
f7Icon: 'device_phone_portrait'
},
desktop: {
f7Icon: 'device_desktop'
},
tv: {
f7Icon: 'tv'
}
};
export default {
allAccountIcons: allAccountIcons,
defaultAccountIconId: defaultAccountIconId,
defaultAccountIcon: allAccountIcons[defaultAccountIconId],
totalAccountIconCount: totalAccountIconCount,
deviceIcons: deviceIcons,
};