feat: disable Libre.fm option and remove "private profiles" part from
ListenBrainz page
This commit is contained in:
parent
a9d756f0a2
commit
d6b181eee0
2 changed files with 5 additions and 5 deletions
|
|
@ -148,9 +148,7 @@ export default function Settings() {
|
|||
? "✅ Configured"
|
||||
: "❌ Missing credentials";
|
||||
case "librefm":
|
||||
return getStorage("librefmUsername") && getStorage("librefmApiKey")
|
||||
? "✅ Configured"
|
||||
: "❌ Missing credentials";
|
||||
return "❌ Service temporarily disabled";
|
||||
case "listenbrainz":
|
||||
return getStorage("listenbrainzUsername")
|
||||
? "✅ Configured"
|
||||
|
|
@ -188,6 +186,7 @@ export default function Settings() {
|
|||
forceUpdate();
|
||||
}
|
||||
}}
|
||||
disabled={service === "librefm"}
|
||||
/>
|
||||
),
|
||||
)}
|
||||
|
|
@ -208,7 +207,7 @@ export default function Settings() {
|
|||
/>
|
||||
<TableRow
|
||||
label="Libre.fm Settings"
|
||||
subLabel="Configure Libre.fm credentials and options"
|
||||
subLabel="Disabled - not being able to test it out"
|
||||
trailing={<TableRow.Arrow />}
|
||||
onPress={() =>
|
||||
navigation.push("VendettaCustomPage", {
|
||||
|
|
@ -216,6 +215,7 @@ export default function Settings() {
|
|||
render: LibreFmSettingsPage,
|
||||
})
|
||||
}
|
||||
disabled={true}
|
||||
/>
|
||||
<TableRow
|
||||
label="ListenBrainz Settings"
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ export default function ListenBrainzSettingsPage() {
|
|||
isClearable
|
||||
/>
|
||||
<TextInput
|
||||
placeholder="ListenBrainz Token (for private profiles)"
|
||||
placeholder="ListenBrainz Token"
|
||||
value={getStorage("listenbrainzToken")}
|
||||
onChange={(v: string) => {
|
||||
setStorage("listenbrainzToken", v);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue