Advertisement
easyswiftui

Untitled

May 23rd, 2024
5
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. struct TaibEntry: TimelineEntry {
  2. let date: Date
  3. let taibDate: String // 27 Шавваль 1441
  4. let location: String // Медина
  5. let prayers: [PrayItem] // 6 молитв
  6. let currentPrayItem: CurrentPrayItem
  7. let reminderItem: ReminderItem
  8. }
  9.  
  10. struct PrayItem {
  11. let icon: String
  12. let name: String
  13. let time: String
  14. let isPicked: Bool
  15. }
  16.  
  17. struct CurrentPrayItem {
  18. let currentPrayName: String
  19. let currentPrayTime: String
  20. let progress: Float
  21. let timeBeforeNextPray: String
  22. let nextPrayName: String
  23. let nextPrayTime: String
  24. }
  25.  
  26. struct ReminderItem {
  27. let startIcon: String
  28. let startName: String
  29. let startTime: String
  30. let endIcon: String
  31. let endTime: String
  32. let endName: String
  33. let progress: Float
  34. let reminderText: String
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement