ShareX / ShareX

ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
https://getsharex.com
GNU General Public License v3.0
27.97k stars 3.09k forks source link

Fix toast notification settings not being respected in OCR #7387

Open Rapptz opened 1 month ago

Rapptz commented 1 month ago

This should fix https://github.com/ShareX/ShareX/issues/7073

I wasn't sure if there was a code style to adhere to w.r.t. if statements being in a single line. I saw it done in certain places so I just followed that. I also admit to not testing this but the change set seemed simple enough. I edited this file using GitHub's editor (sorry) so it looks like it added an extraneous newline to the end of the file.