client: add page title speed display preference

This commit is contained in:
ConquerorDopy
2021-11-06 03:41:02 +01:00
committed by Jesse Chan
parent c329c474a2
commit 5cb523d06a
6 changed files with 49 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ const defaultFloodSettings: Readonly<FloodSettings> = {
mountPoints: [],
deleteTorrentData: true,
startTorrentsOnLoad: true,
UIPageTitleSpeedEnabled: true,
};
export default defaultFloodSettings;

View File

@@ -40,6 +40,9 @@ export interface FloodSettings {
// Last used "Add Torrents" tab
UITorrentsAddTab?: 'by-url' | 'by-file' | 'by-creation';
// Display upload and download speed in page title
UIPageTitleSpeedEnabled: boolean;
}
export type FloodSetting = keyof FloodSettings;