Commit 9e8330dd authored by Axelander's avatar Axelander

Fixed some code smell and missing code refactoring

parent 8215937d
...@@ -6,6 +6,7 @@ using System.Collections.Generic; ...@@ -6,6 +6,7 @@ using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Xml.Serialization;
using Windows.UI.Xaml; using Windows.UI.Xaml;
namespace SonicStreamer.ViewModelItems namespace SonicStreamer.ViewModelItems
...@@ -36,7 +37,7 @@ namespace SonicStreamer.ViewModelItems ...@@ -36,7 +37,7 @@ namespace SonicStreamer.ViewModelItems
} }
private string _expandButtonSymbol; private string _expandButtonSymbol;
[XmlIgnore]
public string ExpandButtonSymbol public string ExpandButtonSymbol
{ {
get { return _expandButtonSymbol; } get { return _expandButtonSymbol; }
...@@ -45,9 +46,9 @@ namespace SonicStreamer.ViewModelItems ...@@ -45,9 +46,9 @@ namespace SonicStreamer.ViewModelItems
#endregion #endregion
public PodcastEpisodeListingItem(PodcastEpisode episode) : this(episode, false) public PodcastEpisodeListingItem() { }
{
} public PodcastEpisodeListingItem(PodcastEpisode episode) : this(episode, false) { }
public PodcastEpisodeListingItem(PodcastEpisode episode, bool isExpand) public PodcastEpisodeListingItem(PodcastEpisode episode, bool isExpand)
{ {
......
...@@ -30,7 +30,7 @@ namespace SonicStreamer.ViewModels ...@@ -30,7 +30,7 @@ namespace SonicStreamer.ViewModels
public bool IsLoading public bool IsLoading
{ {
get { return _isLoading; } get { return _isLoading; }
set { Set(ref IsLoaded, value); } set { Set(ref _isLoading, value); }
} }
private int _loadingCount; private int _loadingCount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment