Remove timeout from Hyprpanel notifications. (#597)

This commit is contained in:
Jas Singh
2024-12-22 13:42:47 -08:00
committed by GitHub
parent 78e339adcf
commit 97e852cf94
7 changed files with 0 additions and 9 deletions

View File

@@ -200,7 +200,6 @@ export const saveFileDialog = (filePath: string, themeOnly: boolean): void => {
summary: 'File Saved Successfully',
body: `At ${finalFilePath}.`,
iconName: icons.ui.info,
timeout: 5000,
});
} catch (e) {
if (e instanceof Error) {
@@ -244,7 +243,6 @@ export const importFiles = (themeOnly: boolean = false): void => {
summary: 'Failed to import',
body: 'No file selected.',
iconName: icons.ui.warning,
timeout: 5000,
});
return;
}
@@ -260,7 +258,6 @@ export const importFiles = (themeOnly: boolean = false): void => {
summary: `Importing ${themeOnly ? 'Theme' : 'Config'}`,
body: `Importing: ${filePath}`,
iconName: icons.ui.info,
timeout: 7000,
});
const tmpConfigFile = Gio.File.new_for_path(`${TMP}/config.json`);