If the state is changed in any way other than via the shortcut
(background app refresh, for example) the shortcut text will be out of
sync with the actual state.
Additional note: this patch also moves the respondsToSelector check into updateShortCutItem so it only has to be done in one place.
If the state is changed in any way other than via the shortcut (background app refresh, for example) the shortcut text will be out of sync with the actual state.
Additional note: this patch also moves the respondsToSelector check into updateShortCutItem so it only has to be done in one place.