Closed kofigumbs closed 1 year ago
App version 4.0.6
Installation source
Describe the bug The all-day event title is aligned in the middle of "second column" with the end times.
To Reproduce Steps to reproduce the behavior:
Expected behavior
The all-day event title should be aligned in the "third column" with the other event titles.
Screenshots
Desktop (please complete the following information):
Additional context
I think the resolution would be to change this bit
https://github.com/leits/MeetingBar/blob/35481c9832e0023c19e0db9779feedbc4e34b248/MeetingBar/StatusBarItemController.swift#L643-L649
To read like this
if event.isAllDay { eventStartTime = "status_bar_event_start_time_all_day".loco() switch Defaults[.timeFormat] { case .am_pm: eventEndTime = "\t\t\t" case .military: eventEndTime = "\t" } } else { eventStartTime = eventTimeFormatter.string(from: event.startDate) eventEndTime = eventTimeFormatter.string(from: event.endDate) }
I'm just guessing it's 3 tabs based on the visual. I can test it and submit a PR with the change if that'd be helpful.
Thanks, @kofigumbs! Your guess was right, added your solution with two spaces and it works as expected! I'll include the fix in the next release π
App version 4.0.6
Installation source
Describe the bug The all-day event title is aligned in the middle of "second column" with the end times.
To Reproduce Steps to reproduce the behavior:
Expected behavior
The all-day event title should be aligned in the "third column" with the other event titles.
Screenshots
Desktop (please complete the following information):
Additional context
I think the resolution would be to change this bit
https://github.com/leits/MeetingBar/blob/35481c9832e0023c19e0db9779feedbc4e34b248/MeetingBar/StatusBarItemController.swift#L643-L649
To read like this
I'm just guessing it's 3 tabs based on the visual. I can test it and submit a PR with the change if that'd be helpful.