mirror of https://github.com/coddrago/Heroku
fix presets
parent
733708e2ca
commit
81bf69f34b
|
@ -157,8 +157,8 @@ class Presets(loader.Module):
|
||||||
index = 0
|
index = 0
|
||||||
for link in mod_row:
|
for link in mod_row:
|
||||||
text = (
|
text = (
|
||||||
f"{("✅ " if link not in to_install else "❌ ")}"
|
f"{('✅ ' if link not in to_install else '❌ ')}"
|
||||||
f"{link.rsplit("/", maxsplit=1)[1].split(".")[0]}"
|
f"{link.rsplit('/', maxsplit=1)[1].split('.')[0]}"
|
||||||
)
|
)
|
||||||
row.append(
|
row.append(
|
||||||
{
|
{
|
||||||
|
@ -207,9 +207,9 @@ class Presets(loader.Module):
|
||||||
else "▫️"
|
else "▫️"
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
f"<s>{link.rsplit("/", maxsplit=1)[1].split(".")[0]}</s>"
|
f"<s>{link.rsplit('/', maxsplit=1)[1].split('.')[0]}</s>"
|
||||||
if link not in to_install
|
if link not in to_install
|
||||||
else link.rsplit("/", maxsplit=1)[1].split(".")[0]),
|
else link.rsplit('/', maxsplit=1)[1].split('.')[0]),
|
||||||
),
|
),
|
||||||
int(self._is_installed(link)),
|
int(self._is_installed(link)),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue