mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Hide the "Play with friends" section when social features are disabled
This commit is contained in:
parent
fb80c3662a
commit
75d9639c01
@ -3679,6 +3679,16 @@ div[class*=NotFocusedDialog] {
|
||||
}
|
||||
`;
|
||||
|
||||
// Hide "Play with friends" section
|
||||
if (PREFS.get(Preferences.BLOCK_SOCIAL_FEATURES)) {
|
||||
css += `
|
||||
div[class^=HomePage-module__bottomSpacing]:has(button[class*=SocialEmptyCard]),
|
||||
button[class*=SocialEmptyCard] {
|
||||
display: none;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
// Reduce animations
|
||||
if (PREFS.get(Preferences.REDUCE_ANIMATIONS)) {
|
||||
css += `
|
||||
|
Loading…
x
Reference in New Issue
Block a user