mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-02-02 15:14:19 +01:00
The layout redesign introduced a bug where buttons stopped working when a channel was selected. The issue was that the code always used a single-column layout for channel views, but when router views (Accounts, Relays, etc.) were triggered by button clicks, only column 0 was rendered instead of all columns. Changes: - Check router state upfront to determine the correct layout - Only use channel layout when channel is selected AND no router view is active - Use normal multi-column layout when router views are shown - Remove debug println statements - Remove unused accounts field from DesktopSidePanel This ensures all button clicks are properly handled and render the appropriate views across all columns.