From ad467398efa5eef3dd72ff8cb15f14fe173c9de6 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 29 Oct 2018 19:24:25 +0900 Subject: [PATCH] Added title language statistics --- pages/statistics/statistics.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/statistics/statistics.go b/pages/statistics/statistics.go index d2a8b125..80141caf 100644 --- a/pages/statistics/statistics.go +++ b/pages/statistics/statistics.go @@ -25,6 +25,7 @@ func getUserStats() []*arn.PieChart { gender := stats{} os := stats{} notifications := stats{} + titleLanguage := stats{} avatar := stats{} ip := stats{} pro := stats{} @@ -110,6 +111,7 @@ func getUserStats() []*arn.PieChart { settings := user.Settings() theme[settings.Theme]++ + titleLanguage[settings.TitleLanguage]++ } return []*arn.PieChart{ @@ -117,6 +119,7 @@ func getUserStats() []*arn.PieChart { arn.NewPieChart("Screen size", screenSize), arn.NewPieChart("Browser", browser), arn.NewPieChart("Country", country), + arn.NewPieChart("Title language", titleLanguage), arn.NewPieChart("Avatar", avatar), arn.NewPieChart("Notifications", notifications), arn.NewPieChart("Gender", gender),