Better fix to Mac user getting logged out after the app is locked.
This commit is contained in:
parent
af7327555c
commit
00ad9d59ca
@ -183,7 +183,8 @@ static OSStatus MPHotKeyHander(EventHandlerCallRef nextHandler, EventRef theEven
|
|||||||
|
|
||||||
[super setActiveUser:activeUser];
|
[super setActiveUser:activeUser];
|
||||||
|
|
||||||
[MPMacConfig get].usedUserName = activeUser.name;
|
if (activeUser)
|
||||||
|
[MPMacConfig get].usedUserName = activeUser.name;
|
||||||
|
|
||||||
PearlMainQueue( ^{
|
PearlMainQueue( ^{
|
||||||
[self updateUsers];
|
[self updateUsers];
|
||||||
|
Loading…
Reference in New Issue
Block a user