From 4e2500578ce55fdffc374cb69a32ba887f1f6528 Mon Sep 17 00:00:00 2001 From: Alex Sytnyk Date: Mon, 9 Jul 2018 16:53:20 +0300 Subject: [PATCH] Move const from file to object --- OsmAnd-telegram/src/net/osmand/telegram/helpers/FontCache.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd-telegram/src/net/osmand/telegram/helpers/FontCache.kt b/OsmAnd-telegram/src/net/osmand/telegram/helpers/FontCache.kt index fe5cdb168e..4edf5cef56 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/helpers/FontCache.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/helpers/FontCache.kt @@ -6,10 +6,10 @@ import android.util.Log import net.osmand.telegram.R import java.util.concurrent.ConcurrentHashMap -private const val TAG = "FontCache" - object FontCache { + private const val TAG = "FontCache" + private val fontsMap = ConcurrentHashMap() fun getRobotoMedium(context: Context): Typeface? {