offer to save jellyfin profile user.
This commit is contained in:
parent
e8439830f2
commit
5fbe2a4a3d
|
@ -144,7 +144,12 @@ final class SessionManager {
|
|||
user.device_uuid = self.deviceID
|
||||
|
||||
#if os(tvOS)
|
||||
user.appletv_id = tvUserManager.currentUserIdentifier ?? ""
|
||||
let descriptor: TVAppProfileDescriptor = TVAppProfileDescriptor(name: user.username!)
|
||||
self.tvUserManager.shouldStorePreferenceForCurrentUser(to: descriptor) { should in
|
||||
if(should) {
|
||||
user.appletv_id = self.tvUserManager.currentUserIdentifier ?? ""
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return (user, response.accessToken)
|
||||
|
|
Loading…
Reference in New Issue