Fix vote widget to show actual voting date instead of hardcoded Today
When rating for a previous day (e.g., rating last night for yesterday), the medium vote widget now correctly shows the date like "Sun, Dec 28" instead of always displaying "Today". - Add votingDate property to VoteWidgetEntry - Add dynamic date formatting in VotedStatsView - Update all preview entries with votingDate parameter 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,6 +56,7 @@ struct SimpleEntry: TimelineEntry {
|
||||
|
||||
struct VoteWidgetEntry: TimelineEntry {
|
||||
let date: Date
|
||||
let votingDate: Date
|
||||
let hasSubscription: Bool
|
||||
let hasVotedToday: Bool
|
||||
let todaysMood: Mood?
|
||||
|
||||
Reference in New Issue
Block a user