29 lines
925 B
TypeScript
29 lines
925 B
TypeScript
// Metro module 12372 (f12373).
|
|
import ApplicationRecord from "./ApplicationRecord";
|
|
import Platforms from "../lib/Platforms";
|
|
import { $callWithNewTarget } from "../_hermes/prelude";
|
|
const id = "spotify";
|
|
let c8543_1 = Platforms.get("spotify");
|
|
class SpotifyApplicationRecord extends ApplicationRecord {
|
|
id = id;
|
|
name = c8543_1.name;
|
|
constructor() {
|
|
super({});
|
|
}
|
|
getIconURL() {
|
|
return c8543_1.icon.lightPNG;
|
|
}
|
|
getWhiteIconURL() {
|
|
return c8543_1.icon.whitePNG;
|
|
}
|
|
}
|
|
const prototypeOf = Object.getPrototypeOf(SpotifyApplicationRecord);
|
|
const r30 = Object.create(SpotifyApplicationRecord.prototype);
|
|
const r31 = $callWithNewTarget(prototypeOf, r30, SpotifyApplicationRecord, {});
|
|
const r32 = r31 instanceof Object ? r31 : r30;
|
|
r32.id = "spotify";
|
|
r32.name = c8543_1.name;
|
|
export default SpotifyApplicationRecord;
|
|
export const SPOTIFY_APPLICATION_ID = "spotify";
|
|
export { r32 as SpotifyApplication };
|