Renamed and moved NPill to BarPill.

Pill should not be used outside of the Bar as they rely on bar settings.
This commit is contained in:
LemmyCook 2025-09-16 22:26:56 -04:00
parent 3a6bf8d299
commit a92b4b311a
11 changed files with 26 additions and 16 deletions

View file

@ -207,7 +207,7 @@ Singleton {
return (widgetMetadata[id] !== undefined) && (widgetMetadata[id].allowUserSettings === true)
}
function getNPillDirection(widget) {
function getPillDirection(widget) {
try {
if (widget.section === "left") {
return true