show seed box icon configurable

This commit is contained in:
xiaomlove
2022-09-06 21:54:13 +08:00
parent 8eda506f6c
commit 9231da1c6b
6 changed files with 10 additions and 1 deletions

View File

@@ -17,9 +17,11 @@ class SearchBox extends NexusModel
];
const EXTRA_DISPLAY_COVER_ON_TORRENT_LIST = 'display_cover_on_torrent_list';
const EXTRA_DISPLAY_SEED_BOX_ICON_ON_TORRENT_LIST = 'display_seed_box_icon_on_torrent_list';
public static array $extras = [
self::EXTRA_DISPLAY_COVER_ON_TORRENT_LIST => ['text' => 'Display cover on torrent list'],
self::EXTRA_DISPLAY_SEED_BOX_ICON_ON_TORRENT_LIST => ['text' => 'Display seed box icon on torrent list'],
];
public static function listExtraText(): array