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();
}
result.Content = DecryptSettings(result);
var obj = string.IsNullOrEmpty(result.Content) ? null : JsonConvert.DeserializeObject<T>(result.Content, SerializerSettings.Settings);
var model = obj;
return model;
return string.IsNullOrEmpty(result.Content) ? null : JsonConvert.DeserializeObject<T>(result.Content, SerializerSettings.Settings);
}
public bool SaveSettings(T model)

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

Loading…
Cancel
Save