Files
decePubClient/Models/FeedFilter.cs
T

17 lines
725 B
C#
Raw Normal View History

using decePubClient.Models.Types;
namespace decePubClient.Models;
/// <summary>The feed page's choices, kept in localStorage: the tab, the group it shows and the globe's visibility.</summary>
public class FeedFilter
{
public TimelineType TimelineType { get; set; } = TimelineType.Home;
/// <summary>The community or circle the Groups tab shows.</summary>
public string GroupId { get; set; }
/// <summary>The persona's list the Lists tab shows.</summary>
public string ListId { get; set; }
/// <summary>The hashtag the Tag tab shows, without #.</summary>
public string Tag { get; set; }
/// <summary>Whether the globe is open where it can be closed (narrow screens).</summary>
public bool ShowGlobe { get; set; }
}