stuff
This commit is contained in:
parent
76588f5d3b
commit
80f7a39c3f
|
@ -64,18 +64,21 @@
|
|||
"AckUtils": {
|
||||
"ack": ["type:\"CHANNEL_ACK\"", "messageId", "channelId"],
|
||||
"bulkAck": ["type:\"BULK_ACK\""]
|
||||
},
|
||||
"ApplicationAssetUtils": {
|
||||
"getAssetImage": ["ApplicationAssetUtils", "getAssetImage"]
|
||||
}
|
||||
},
|
||||
"LibraryModules": {
|
||||
"AckUtils": {"strings": ["type:\"BULK_ACK\""], "exported": false, "value": "exports"},
|
||||
"ActivityUtils": {"props": ["sendActivityInvite", "updateActivity"]},
|
||||
"APIEncodeUtils": {"props": ["stringify", "parse", "encode"]},
|
||||
"APIUtils": {"props": ["getAPIBaseURL"]},
|
||||
"AnalyticsUtils": {"props": ["isThrottled", "track"]},
|
||||
"AnimationUtils": {"props": ["spring", "decay"]},
|
||||
"APIEncodeUtils": {"props": ["stringify", "parse", "encode"]},
|
||||
"APIUtils": {"props": ["getAPIBaseURL"]},
|
||||
"AppearanceSettingsUtils": {"props": ["updateLocale", "updateTheme"]},
|
||||
"ApplicationAssetUtils": {"strings": ["ApplicationAssetUtils", "getAssetImage"], "exported": false, "value": "exports"},
|
||||
"ArrayUtils": {"props": ["isArrayLike", "zipObject"]},
|
||||
"AssetUtils": {"props": ["getAssetImage", "getAssetIds"]},
|
||||
"AutocompleteOptions": {"props": ["AUTOCOMPLETE_OPTIONS"]},
|
||||
"AutocompleteSentinels": {"props": ["CHANNEL_SENTINEL", "COMMAND_SENTINEL"]},
|
||||
"BadgeUtils": {"props": ["getBadgeCountString", "getBadgeWidthForValue"]},
|
||||
|
|
|
@ -134,7 +134,7 @@ module.exports = (_ => {
|
|||
}
|
||||
if (!lastSong) return null;
|
||||
|
||||
let coverSrc = BDFDB.LibraryModules.AssetUtils.getAssetImage(lastSong.application_id, lastSong.assets.large_image);
|
||||
let coverSrc = BDFDB.LibraryModules.ApplicationAssetUtils.getAssetImage(lastSong.application_id, lastSong.assets.large_image);
|
||||
let connection = (BDFDB.LibraryStores.ConnectedAccountsStore.getAccounts().find(n => n.type == "spotify") || {});
|
||||
showActivity = showActivity != undefined ? showActivity : (connection.show_activity || connection.showActivity);
|
||||
currentVolume = this.props.draggingVolume ? currentVolume : socketDevice.device.volume_percent;
|
||||
|
|
Loading…
Reference in New Issue