Various fixes

This commit is contained in:
Ilya Laktyushin
2020-03-31 15:24:32 +04:00
parent 1979be1f85
commit 8634def6a8
28 changed files with 3322 additions and 3246 deletions

View File

@@ -260,7 +260,7 @@ class StatsGraphItemNode: ListViewItemNode {
strongSelf.activityIndicator.type = .custom(item.presentationData.theme.list.itemSecondaryTextColor, 16.0, 2.0, false)
if let updatedTheme = updatedTheme {
strongSelf.chartNode.setupTheme(ChartTheme(presentationTheme: updatedTheme))
strongSelf.chartNode.setup(theme: ChartTheme(presentationTheme: updatedTheme), strings: ChartStrings(zoomOut: item.presentationData.strings.Stats_ZoomOut, total: item.presentationData.strings.Stats_Total))
}
if let updatedGraph = updatedGraph {