rutorrent-flutter icon indicating copy to clipboard operation
rutorrent-flutter copied to clipboard

feat: Add predefined label icons for common torrent categories (#108)

Open ananyaaa66 opened this issue 8 months ago • 0 comments

Closes #108

Summary

Adds context-specific icons for predefined torrent label names (video, audio, games, books, software, tv, anime, etc.) in the drawer's Labels section, matching the ruTorrent web interface.

Changes

  • [NEW] label_icon_mapper.dart: Utility mapping 40+ common label names to Material Icons
    • label_tile_widget.dart: Uses getLabelIcon(label) instead of hardcoded Icons.label_important_outline Unrecognized custom labels fall back to the default label icon.

ananyaaa66 avatar Mar 31 '26 17:03 ananyaaa66