Removed a change that shoudn't have been commited.

pull/332/head
tidusjar 9 years ago
parent dd46f08f8b
commit 7d03d296fd

@ -72,11 +72,7 @@ namespace PlexRequests.Core
return new T(); return new T();
} }
result.Content = DecryptSettings(result); result.Content = DecryptSettings(result);
var obj = string.IsNullOrEmpty(result.Content) ? null : JsonConvert.DeserializeObject<T>(result.Content, SerializerSettings.Settings); return string.IsNullOrEmpty(result.Content) ? null : JsonConvert.DeserializeObject<T>(result.Content, SerializerSettings.Settings);
var model = obj;
return model;
} }
public bool SaveSettings(T model) public bool SaveSettings(T model)

@ -111,8 +111,7 @@ namespace PlexRequests.UI
container.Register<IHeadphonesApi, HeadphonesApi>(); container.Register<IHeadphonesApi, HeadphonesApi>();
container.Register<ISlackApi, SlackApi>(); container.Register<ISlackApi, SlackApi>();
container.AutoRegister();
// Notification Service // Notification Service
container.Register<INotificationService, NotificationService>().AsSingleton(); container.Register<INotificationService, NotificationService>().AsSingleton();

Loading…
Cancel
Save