Skip to content

Commit

Permalink
fix: Fix dark mode toggle button incorrect label
Browse files Browse the repository at this point in the history
Dark mode button label displays incorrect current mode after changing it.
  • Loading branch information
seriaati committed Mar 6, 2024
1 parent 3b36048 commit c51fb9c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ui/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def get_brand_image_file(self, interaction_locale: discord.Locale) -> discord.Fi
return discord.File(filename, filename="brand.png")

async def update_ui_and_save_settings(self, i: "INTERACTION") -> None:
self.translate_items()
await self.absolute_edit(
i, embed=self.get_embed(), attachments=[self.get_brand_image_file(i.locale)], view=self
)
Expand Down

0 comments on commit c51fb9c

Please sign in to comment.