File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,11 @@ async function switchProfile(profileName) {
108108 if ( profile ) {
109109 await chrome . storage . sync . set ( { 'currentProfile' : profileName } ) ;
110110 logConfigurationRelatedStuff ( `Switched to profile: ${ profileName } ` ) ;
111+ showToast ( `Switched to profile: ${ profileName } ` , 'info' ) ;
111112 return profile ;
112113 } else {
113114 logConfigurationRelatedStuff ( `Failed to switch to profile: ${ profileName } ` ) ;
115+ showToast ( `Failed to switch to profile: ${ profileName } ` , 'error' ) ;
114116 return null ;
115117 }
116118 } catch ( error ) {
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ async function updateGlobalSettings() {
5353 currentProfile . enableShortcuts = document . getElementById ( 'shortcutsToggle' ) . checked ;
5454 await saveCurrentProfile ( ) ;
5555 logToConsole ( 'Updated global settings' ) ;
56+ showToast ( 'Global settings updated' , 'success' ) ;
5657}
5758
5859/**
You can’t perform that action at this time.
0 commit comments