Skip to content
This repository has been archived by the owner on Nov 10, 2019. It is now read-only.

Commit

Permalink
Update XA line color and correct few orthographic mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
Remy Da Costa Faro committed Dec 20, 2017
1 parent 197d58d commit ffbd748
Show file tree
Hide file tree
Showing 137 changed files with 18 additions and 29 deletions.
1 change: 1 addition & 0 deletions Snapfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#A list of devices you want to take the screenshots from
devices([
"iPhone 4s",
"iPhone 8",
"iPhone 8 Plus",
"iPhone 5s",
Expand Down
7 changes: 0 additions & 7 deletions screenshots/README.txt

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed screenshots/en-US/1_iphone4_1.iPhone 5s-stops.png
Binary file not shown.
Binary file removed screenshots/en-US/1_iphone58_1.iPhone X-stops.png
Binary file not shown.
Binary file not shown.
Binary file removed screenshots/en-US/1_iphone6_1.iPhone 8-stops.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed screenshots/en-US/4_iphone4_4.iPhone 5s-routes.png
Binary file not shown.
Binary file removed screenshots/en-US/4_iphone58_4.iPhone X-routes.png
Binary file not shown.
Binary file not shown.
Binary file removed screenshots/en-US/4_iphone6_4.iPhone 8-routes.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/en-US/5_iphone4_5.iPhone 5s-maps.png
Diff not rendered.
Binary file removed screenshots/en-US/5_iphone58_5.iPhone X-maps.png
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/en-US/5_iphone6_5.iPhone 8-maps.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/en-US/iPad Pro (12.9-inch)-maps.png
Diff not rendered.
Binary file removed screenshots/en-US/iPad Pro (12.9-inch)-routes.png
Diff not rendered.
Binary file removed screenshots/en-US/iPad Pro (12.9-inch)-stops.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/en-US/iPad Pro (9.7-inch)-maps.png
Diff not rendered.
Binary file removed screenshots/en-US/iPad Pro (9.7-inch)-routes.png
Diff not rendered.
Binary file removed screenshots/en-US/iPad Pro (9.7-inch)-stops.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 5s-departures.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 5s-disruptions.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 5s-maps.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 5s-routes.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 5s-stops.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 8 Plus-departures.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 8 Plus-disruptions.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 8 Plus-maps.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 8 Plus-routes.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 8 Plus-stops.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 8-departures.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 8-disruptions.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 8-maps.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 8-routes.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone 8-stops.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone X-departures.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone X-disruptions.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone X-maps.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone X-routes.png
Diff not rendered.
Binary file removed screenshots/en-US/iPhone X-stops.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/fr-FR/1_iphone4_1.iPhone 5s-stops.png
Diff not rendered.
Binary file removed screenshots/fr-FR/1_iphone58_1.iPhone X-stops.png
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/fr-FR/1_iphone6_1.iPhone 8-stops.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/fr-FR/4_iphone4_4.iPhone 5s-routes.png
Diff not rendered.
Binary file removed screenshots/fr-FR/4_iphone58_4.iPhone X-routes.png
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/fr-FR/4_iphone6_4.iPhone 8-routes.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/fr-FR/5_iphone4_5.iPhone 5s-maps.png
Diff not rendered.
Binary file removed screenshots/fr-FR/5_iphone58_5.iPhone X-maps.png
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/fr-FR/5_iphone6_5.iPhone 8-maps.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/fr-FR/iPad Pro (12.9-inch)-maps.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPad Pro (12.9-inch)-routes.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPad Pro (12.9-inch)-stops.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed screenshots/fr-FR/iPad Pro (9.7-inch)-maps.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPad Pro (9.7-inch)-routes.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPad Pro (9.7-inch)-stops.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 5s-departures.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 5s-disruptions.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 5s-maps.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 5s-routes.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 5s-stops.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 8 Plus-departures.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 8 Plus-disruptions.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 8 Plus-maps.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 8 Plus-routes.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 8 Plus-stops.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 8-departures.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 8-disruptions.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 8-maps.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 8-routes.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone 8-stops.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone X-departures.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone X-disruptions.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone X-maps.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone X-routes.png
Diff not rendered.
Binary file removed screenshots/fr-FR/iPhone X-stops.png
Diff not rendered.
2 changes: 1 addition & 1 deletion tpg offline watchOS Extension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleShortVersionString</key>
<string>15</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
Expand Down
2 changes: 1 addition & 1 deletion tpg offline watchOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>15</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
Expand Down
3 changes: 0 additions & 3 deletions tpg offline.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
AD416A7F1FB6F8AA005052F3 /* WatchSessionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD416A7E1FB6F8AA005052F3 /* WatchSessionManager.swift */; };
AD416A811FB73587005052F3 /* WatchSessionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD416A801FB73587005052F3 /* WatchSessionManager.swift */; };
AD416A851FB73FFF005052F3 /* DisruptionsInterfaceController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD416A841FB73FFF005052F3 /* DisruptionsInterfaceController.swift */; };
AD4B179D1FE5669C00BBBCE1 /* OneSignal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AD4B179C1FE5669C00BBBCE1 /* OneSignal.framework */; };
AD4C5CD91FC8B22F0094AA30 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = ADF9C68F1F9BDFEB00AE17A4 /* Localizable.strings */; };
AD585E6A1FBB8BB500380720 /* RouteResultsInterfaceController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD585E691FBB8BB500380720 /* RouteResultsInterfaceController.swift */; };
AD5C276F1F65212D00C6BC81 /* DatePickerDialog.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD5C276E1F65212D00C6BC81 /* DatePickerDialog.swift */; };
Expand Down Expand Up @@ -296,7 +295,6 @@
AD37FEA91F41CAC300E84220 /* Alamofire.framework in Frameworks */,
AD7B47E31FD1570000F8DA23 /* MapKit.framework in Frameworks */,
AD07A3661F8A60D400E65DE7 /* Fabric.framework in Frameworks */,
AD4B179D1FE5669C00BBBCE1 /* OneSignal.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -794,7 +792,6 @@
);
inputPaths = (
"$(SRCROOT)/Carthage/Build/iOS/Alamofire.framework",
"$(SRCROOT)/Carthage/Build/iOS/OneSignal.framework",
);
name = Carthage;
outputPaths = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class DisruptionsMonitoringTableViewController: UITableViewController {

if firstOpeningOfDisruptionsMonitoring == true, App.apnsToken != "" {
firstOpeningOfDisruptionsMonitoring = false
let alertController = UIAlertController(title: "Disruptions monitoring".localized, message: "Here, you can choose when you want to monitor the lines you want. If a disruption occured during the monitoring period, we will send you a notification.", preferredStyle: .alert)
let alertController = UIAlertController(title: "Disruptions monitoring".localized, message: "Here, you can choose when you want to monitor the lines you want. If a disruption occured during the monitoring period, we will send you a notification.".localized, preferredStyle: .alert)
alertController.addAction(UIAlertAction(title: "OK, thanks".localized, style: .default, handler: nil))
present(alertController, animated: true) {
self.navigationController?.popViewController(animated: true)
Expand Down
2 changes: 1 addition & 1 deletion tpg offline/Project Requirements/App.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ struct App {
}
}

static var linesColor: [LineColor] = [LineColor(line: "1", color: UIColor(hexString: "5a1e82")!), LineColor(line: "2", color: UIColor(hexString: "cccc33")!), LineColor(line: "3", color: UIColor(hexString: "CC3399")!), LineColor(line: "4", color: UIColor(hexString: "CC0033")!), LineColor(line: "5", color: UIColor(hexString: "0099FF")!), LineColor(line: "6", color: UIColor(hexString: "0099CC")!), LineColor(line: "7", color: UIColor(hexString: "009933")!), LineColor(line: "8", color: UIColor(hexString: "993333")!), LineColor(line: "9", color: UIColor(hexString: "CC0033")!), LineColor(line: "10", color: UIColor(hexString: "32781e")!), LineColor(line: "11", color: UIColor(hexString: "993399")!), LineColor(line: "12", color: UIColor(hexString: "ff9900")!), LineColor(line: "14", color: UIColor(hexString: "5a1e82")!), LineColor(line: "15", color: UIColor(hexString: "993333")!), LineColor(line: "18", color: UIColor(hexString: "cc3399")!), LineColor(line: "19", color: UIColor(hexString: "ffcc00")!), LineColor(line: "21", color: UIColor(hexString: "663333")!), LineColor(line: "22", color: UIColor(hexString: "5a1e82")!), LineColor(line: "23", color: UIColor(hexString: "CC3399")!), LineColor(line: "25", color: UIColor(hexString: "993333")!), LineColor(line: "28", color: UIColor(hexString: "FFCC00")!), LineColor(line: "31", color: UIColor(hexString: "009999")!), LineColor(line: "32", color: UIColor(hexString: "666666")!), LineColor(line: "33", color: UIColor(hexString: "009999")!), LineColor(line: "34", color: UIColor(hexString: "99CCCC")!), LineColor(line: "35", color: UIColor(hexString: "666666")!), LineColor(line: "36", color: UIColor(hexString: "666666")!), LineColor(line: "41", color: UIColor(hexString: "009999")!), LineColor(line: "42", color: UIColor(hexString: "99CCCC")!), LineColor(line: "43", color: UIColor(hexString: "99CCCC")!), LineColor(line: "44", color: UIColor(hexString: "009999")!), LineColor(line: "45", color: UIColor(hexString: "99CCCC")!), LineColor(line: "46", color: UIColor(hexString: "009999")!), LineColor(line: "47", color: UIColor(hexString: "00B0A4")!), LineColor(line: "51", color: UIColor(hexString: "009999")!), LineColor(line: "53", color: UIColor(hexString: "99CCCC")!), LineColor(line: "54", color: UIColor(hexString: "009999")!), LineColor(line: "56", color: UIColor(hexString: "009999")!), LineColor(line: "57", color: UIColor(hexString: "99CCCC")!), LineColor(line: "61", color: UIColor(hexString: "FF9BAA")!), LineColor(line: "A", color: UIColor(hexString: "FF6600")!), LineColor(line: "B", color: UIColor(hexString: "FF6600")!), LineColor(line: "C", color: UIColor(hexString: "FF6600")!), LineColor(line: "D", color: UIColor(hexString: "FF9999")!), LineColor(line: "DN", color: UIColor(hexString: "FF9BAA")!), LineColor(line: "E", color: UIColor(hexString: "FF6600")!), LineColor(line: "F", color: UIColor(hexString: "FF9999")!), LineColor(line: "G", color: UIColor(hexString: "FF9999")!), LineColor(line: "J", color: UIColor(hexString: "FF6600")!), LineColor(line: "K", color: UIColor(hexString: "FF9999")!), LineColor(line: "L", color: UIColor(hexString: "FF6600")!), LineColor(line: "M", color: UIColor(hexString: "FF9BAA")!), LineColor(line: "N", color: UIColor(hexString: "FF9999")!), LineColor(line: "NA", color: UIColor(hexString: "5A1E82")!), LineColor(line: "NC", color: UIColor(hexString: "663399")!), LineColor(line: "ND", color: UIColor(hexString: "993333")!), LineColor(line: "NE", color: UIColor(hexString: "cc3399")!), LineColor(line: "NJ", color: UIColor(hexString: "cccc33")!), LineColor(line: "NK", color: UIColor(hexString: "ff9900")!), LineColor(line: "NM", color: UIColor(hexString: "ff9900")!), LineColor(line: "NO", color: UIColor(hexString: "B82F89")!), LineColor(line: "NP", color: UIColor(hexString: "009999")!), LineColor(line: "NS", color: UIColor(hexString: "008CBE")!), LineColor(line: "NT", color: UIColor(hexString: "00ACE7")!), LineColor(line: "NV", color: UIColor(hexString: "00ACE7")!), LineColor(line: "O", color: UIColor(hexString: "FF9BAA")!), LineColor(line: "P", color: UIColor(hexString: "003399")!), LineColor(line: "S", color: UIColor(hexString: "003399")!), LineColor(line: "T", color: UIColor(hexString: "FF9BAA")!), LineColor(line: "TO", color: UIColor(hexString: "E2001D")!), LineColor(line: "TT", color: UIColor(hexString: "FD0000")!), LineColor(line: "U", color: UIColor(hexString: "003399")!), LineColor(line: "V", color: UIColor(hexString: "FF6600")!), LineColor(line: "W", color: UIColor(hexString: "003399")!), LineColor(line: "XA", color: UIColor(hexString: "003399")!), LineColor(line: "X", color: UIColor(hexString: "003399")!), LineColor(line: "Y", color: UIColor(hexString: "FF9999")!), LineColor(line: "Z", color: UIColor(hexString: "FF9999")!), LineColor(line: "80", color: UIColor(hexString: "000000")!), LineColor(line: "81", color: UIColor(hexString: "000000")!), LineColor(line: "82", color: UIColor(hexString: "000000")!), LineColor(line: "83", color: UIColor(hexString: "000000")!), LineColor(line: "84", color: UIColor(hexString: "000000")!), LineColor(line: "85", color: UIColor(hexString: "000000")!), LineColor(line: "86", color: UIColor(hexString: "000000")!), LineColor(line: "92", color: UIColor(hexString: "000000")!), LineColor(line: "93", color: UIColor(hexString: "000000")!), LineColor(line: "94", color: UIColor(hexString: "000000")!), LineColor(line: "96", color: UIColor(hexString: "000000")!), LineColor(line: "97", color: UIColor(hexString: "000000")!)] // swiftlint:disable:this line_length
static var linesColor: [LineColor] = [LineColor(line: "1", color: UIColor(hexString: "5a1e82")!), LineColor(line: "2", color: UIColor(hexString: "cccc33")!), LineColor(line: "3", color: UIColor(hexString: "CC3399")!), LineColor(line: "4", color: UIColor(hexString: "CC0033")!), LineColor(line: "5", color: UIColor(hexString: "0099FF")!), LineColor(line: "6", color: UIColor(hexString: "0099CC")!), LineColor(line: "7", color: UIColor(hexString: "009933")!), LineColor(line: "8", color: UIColor(hexString: "993333")!), LineColor(line: "9", color: UIColor(hexString: "CC0033")!), LineColor(line: "10", color: UIColor(hexString: "32781e")!), LineColor(line: "11", color: UIColor(hexString: "993399")!), LineColor(line: "12", color: UIColor(hexString: "ff9900")!), LineColor(line: "14", color: UIColor(hexString: "5a1e82")!), LineColor(line: "15", color: UIColor(hexString: "993333")!), LineColor(line: "18", color: UIColor(hexString: "cc3399")!), LineColor(line: "19", color: UIColor(hexString: "ffcc00")!), LineColor(line: "21", color: UIColor(hexString: "663333")!), LineColor(line: "22", color: UIColor(hexString: "5a1e82")!), LineColor(line: "23", color: UIColor(hexString: "CC3399")!), LineColor(line: "25", color: UIColor(hexString: "993333")!), LineColor(line: "28", color: UIColor(hexString: "FFCC00")!), LineColor(line: "31", color: UIColor(hexString: "009999")!), LineColor(line: "32", color: UIColor(hexString: "666666")!), LineColor(line: "33", color: UIColor(hexString: "009999")!), LineColor(line: "34", color: UIColor(hexString: "99CCCC")!), LineColor(line: "35", color: UIColor(hexString: "666666")!), LineColor(line: "36", color: UIColor(hexString: "666666")!), LineColor(line: "41", color: UIColor(hexString: "009999")!), LineColor(line: "42", color: UIColor(hexString: "99CCCC")!), LineColor(line: "43", color: UIColor(hexString: "99CCCC")!), LineColor(line: "44", color: UIColor(hexString: "009999")!), LineColor(line: "45", color: UIColor(hexString: "99CCCC")!), LineColor(line: "46", color: UIColor(hexString: "009999")!), LineColor(line: "47", color: UIColor(hexString: "00B0A4")!), LineColor(line: "51", color: UIColor(hexString: "009999")!), LineColor(line: "53", color: UIColor(hexString: "99CCCC")!), LineColor(line: "54", color: UIColor(hexString: "009999")!), LineColor(line: "56", color: UIColor(hexString: "009999")!), LineColor(line: "57", color: UIColor(hexString: "99CCCC")!), LineColor(line: "61", color: UIColor(hexString: "FF9BAA")!), LineColor(line: "A", color: UIColor(hexString: "FF6600")!), LineColor(line: "B", color: UIColor(hexString: "FF6600")!), LineColor(line: "C", color: UIColor(hexString: "FF6600")!), LineColor(line: "D", color: UIColor(hexString: "FF9999")!), LineColor(line: "DN", color: UIColor(hexString: "FF9BAA")!), LineColor(line: "E", color: UIColor(hexString: "FF6600")!), LineColor(line: "F", color: UIColor(hexString: "FF9999")!), LineColor(line: "G", color: UIColor(hexString: "FF9999")!), LineColor(line: "J", color: UIColor(hexString: "FF6600")!), LineColor(line: "K", color: UIColor(hexString: "FF9999")!), LineColor(line: "L", color: UIColor(hexString: "FF6600")!), LineColor(line: "M", color: UIColor(hexString: "FF9BAA")!), LineColor(line: "N", color: UIColor(hexString: "FF9999")!), LineColor(line: "NA", color: UIColor(hexString: "5A1E82")!), LineColor(line: "NC", color: UIColor(hexString: "663399")!), LineColor(line: "ND", color: UIColor(hexString: "993333")!), LineColor(line: "NE", color: UIColor(hexString: "cc3399")!), LineColor(line: "NJ", color: UIColor(hexString: "cccc33")!), LineColor(line: "NK", color: UIColor(hexString: "ff9900")!), LineColor(line: "NM", color: UIColor(hexString: "ff9900")!), LineColor(line: "NO", color: UIColor(hexString: "B82F89")!), LineColor(line: "NP", color: UIColor(hexString: "009999")!), LineColor(line: "NS", color: UIColor(hexString: "008CBE")!), LineColor(line: "NT", color: UIColor(hexString: "00ACE7")!), LineColor(line: "NV", color: UIColor(hexString: "00ACE7")!), LineColor(line: "O", color: UIColor(hexString: "FF9BAA")!), LineColor(line: "P", color: UIColor(hexString: "003399")!), LineColor(line: "S", color: UIColor(hexString: "003399")!), LineColor(line: "T", color: UIColor(hexString: "FF9BAA")!), LineColor(line: "TO", color: UIColor(hexString: "E2001D")!), LineColor(line: "TT", color: UIColor(hexString: "FD0000")!), LineColor(line: "U", color: UIColor(hexString: "003399")!), LineColor(line: "V", color: UIColor(hexString: "FF6600")!), LineColor(line: "W", color: UIColor(hexString: "003399")!), LineColor(line: "XA", color: UIColor(hexString: "003399")!), LineColor(line: "X", color: UIColor(hexString: "969391")!), LineColor(line: "Y", color: UIColor(hexString: "FF9999")!), LineColor(line: "Z", color: UIColor(hexString: "FF9999")!), LineColor(line: "80", color: UIColor(hexString: "000000")!), LineColor(line: "81", color: UIColor(hexString: "000000")!), LineColor(line: "82", color: UIColor(hexString: "000000")!), LineColor(line: "83", color: UIColor(hexString: "000000")!), LineColor(line: "84", color: UIColor(hexString: "000000")!), LineColor(line: "85", color: UIColor(hexString: "000000")!), LineColor(line: "86", color: UIColor(hexString: "000000")!), LineColor(line: "92", color: UIColor(hexString: "000000")!), LineColor(line: "93", color: UIColor(hexString: "000000")!), LineColor(line: "94", color: UIColor(hexString: "000000")!), LineColor(line: "96", color: UIColor(hexString: "000000")!), LineColor(line: "97", color: UIColor(hexString: "000000")!)] // swiftlint:disable:this line_length

static func color(for lineCode: String) -> UIColor {
var color: UIColor = App.linesColor.filter({ $0.line == lineCode })[safe: 0]?.color ??
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,4 @@
"at the time of departure." = "at the time of departure.";
"tpg offline" = "tpg offline";
"Line %@" = "Line %@";
"Here, you can choose when you want to monitor the lines you want. If a disruption occured during the monitoring period, we will send you a notification." = "Here, you can choose when you want to monitor the lines you want. If a disruption occured during the monitoring period, we will send you a notification.";
2 changes: 1 addition & 1 deletion tpg offline/Project Requirements/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<key>CFBundleShortVersionString</key>
<string>15</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
Expand Down
4 changes: 2 additions & 2 deletions tpg offline/Project Requirements/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"Let's take the bus!" = "Prenons le bus !";
"Line %@" = "Ligne %@";
"Line %@ - %@" = "Ligne %@ - %@";
"Lines history and moral and material support" = "Histoires des lignes et soutient moral et matériel";
"Lines history and moral and material support" = "Histoires des lignes et soutien moral et matériel";
"Loading" = "Chargement";
"Make a donation" = "Faire un don";
"Map" = "Plan";
Expand Down Expand Up @@ -138,4 +138,4 @@
"at the time of departure." = "au départ";
"tpg offline" = "tpg offline";
"Line %@" = "Ligne %@";

"Here, you can choose when you want to monitor the lines you want. If a disruption occured during the monitoring period, we will send you a notification." = "Ici, vous pouvez surveiller les lignes que vous voulez sur la période que vous voulez. Si une perturbation survient pendant la période définie, nous vous enverrons une notification";
6 changes: 6 additions & 0 deletions tpg offline/Routes/FavoriteRouteTableViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ class FavoriteRouteTableViewCell: UITableViewCell {
fromLabel.textColor = App.textColor
toLabel.textColor = App.textColor
self.backgroundColor = App.cellBackgroundColor

if App.darkMode {
let selectedView = UIView()
selectedView.backgroundColor = .black
self.selectedBackgroundView = selectedView
}

for image in images {
image.image = image.image?.maskWith(color: App.textColor)
Expand Down
9 changes: 0 additions & 9 deletions tpg offline/Settings/SettingsTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ class SettingsTableViewController: UITableViewController {

self.present(vc, animated: true)
}))
self.settings.append(Setting("Make a donation".localized, icon: #imageLiteral(resourceName: "dollar"), action: { (_) in
let vc = SFSafariViewController(url: URL(string: "https://www.paypal.me/remydcf")!, entersReaderIfAvailable: false)
if App.darkMode, #available(iOS 10.0, *) {
vc.preferredBarTintColor = .black
}
vc.delegate = self

self.present(vc, animated: true)
}))

if App.darkMode {
self.tableView.backgroundColor = .black
Expand Down
Loading

0 comments on commit ffbd748

Please sign in to comment.