fixed client type display for ios. also fixed display preferences saving.

This commit is contained in:
LukePulverenti
2013-03-17 23:10:21 -04:00
parent c1d38106c7
commit cf61ac0264
20 changed files with 81 additions and 168 deletions

View File

@@ -51,11 +51,7 @@ namespace MediaBrowser.Api
{
var user = UserManager.GetUserById(new Guid(auth["UserId"]));
ClientType clientType;
Enum.TryParse(auth["Client"] ?? string.Empty, out clientType);
UserManager.LogUserActivity(user, clientType, auth["DeviceId"], auth["Device"] ?? string.Empty);
UserManager.LogUserActivity(user, auth["Client"], auth["DeviceId"], auth["Device"] ?? string.Empty);
}
}