feature: store tag-specific destination and use it as fallback

This commit is contained in:
Jesse Chan
2020-11-13 02:17:57 +08:00
parent 9927b14c77
commit 281f9317e1
8 changed files with 47 additions and 22 deletions

View File

@@ -30,8 +30,10 @@ export interface FloodSettings {
// Last selection state of "Start Torrent" toggle
startTorrentsOnLoad: boolean;
// Last used download destination
torrentDestination?: string;
// Preferred download destinations by tags
// currently set to the last used download destinations
// value of property '' is the default preferred destination
torrentDestinations?: Record<string, string>;
// Tag selector preference
UITagSelectorMode?: 'single' | 'multi';