[Battery Monitor] Fix toolTipMainText when plugged in
It only had a return value for "NoCharge" since the else case was only for not plugged in, resulting in it effectively returning undefined, throwing during assignment "cannot assign [undefined] to string" and leaving whatever text happened to be shown last. BUG: 420920 Differential Revision: https://phabricator.kde.org/D29633
parent
19cfbb1d
Please register or sign in to comment