Path: blob/main/SignalUI/Stories/StoryContextViewState.swift
1 views
//
// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
//
import Foundation
public enum StoryContextViewState: Equatable {
case unviewed
case viewed
case noStories
var hasStoriesToDisplay: Bool {
switch self {
case .noStories: return false
case .viewed, .unviewed: return true
}
}
}