Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.76 KB | None | 0 0
  1. struct VisualisationConfigs {
  2.     let appId = "3ad236ec9794525521fc42d9e34d2b0a"
  3.  
  4.     var cssFilename: String? {
  5.         guard let selectedTheme = try? Theme.shared.selectedTheme.value(),
  6.             let themeCssNameAppendix = selectedTheme == .superbetLight ? "light" : "dark" else {
  7.                 return nil
  8.         }
  9.         return "visualisation_style_\(themeCssNameAppendix)"
  10.     }
  11.  
  12.     let widgetFilename = "br_visualisation_widget"
  13.  
  14.     struct SuperbetLogoUrl {
  15.         let pitch = "https://dev.score-alarm.eu/logo/sideline_logo_03.png"
  16.         let sideline = "https://dev.score-alarm.eu/logo/sideline_logo_01.png"
  17.         let statsBox = "https://dev.score-alarm.eu/logo/sideline_logo_02.png"
  18.     }
  19.  
  20.     let superbetLogoUrls = SuperbetLogoUrl()
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement