From ab1d9b358eede58ab21a61709dbf195ce0baddfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Borcz?= Date: Tue, 3 Mar 2020 18:06:37 +0100 Subject: [PATCH] Change asset name and contributor name (#714) --- app/src/main/assets/{creators.json => contributors.json} | 2 +- .../data/repositories/appcreator/AppCreatorRepository.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/src/main/assets/{creators.json => contributors.json} (94%) diff --git a/app/src/main/assets/creators.json b/app/src/main/assets/contributors.json similarity index 94% rename from app/src/main/assets/creators.json rename to app/src/main/assets/contributors.json index b99f51e2..12acd6c2 100644 --- a/app/src/main/assets/creators.json +++ b/app/src/main/assets/contributors.json @@ -20,7 +20,7 @@ "githubUsername": "doteq" }, { - "displayName": "Pavuloff", + "displayName": "Paweł Krzyś", "githubUsername": "pavuloff" }, { diff --git a/app/src/main/java/io/github/wulkanowy/data/repositories/appcreator/AppCreatorRepository.kt b/app/src/main/java/io/github/wulkanowy/data/repositories/appcreator/AppCreatorRepository.kt index 095b3716..fa752ed2 100644 --- a/app/src/main/java/io/github/wulkanowy/data/repositories/appcreator/AppCreatorRepository.kt +++ b/app/src/main/java/io/github/wulkanowy/data/repositories/appcreator/AppCreatorRepository.kt @@ -12,7 +12,7 @@ class AppCreatorRepository @Inject constructor(private val assets: AssetManager) fun getAppCreators(): Single> { return Single.fromCallable> { Gson().fromJson( - assets.open("creators.json").bufferedReader().use { it.readText() }, + assets.open("contributors.json").bufferedReader().use { it.readText() }, Array::class.java ).toList() }