Change asset name and contributor name (#714)

This commit is contained in:
Rafał Borcz 2020-03-03 18:06:37 +01:00 committed by GitHub
parent 2634c270b1
commit ab1d9b358e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
"githubUsername": "doteq"
},
{
"displayName": "Pavuloff",
"displayName": "Paweł Krzyś",
"githubUsername": "pavuloff"
},
{

View File

@ -12,7 +12,7 @@ class AppCreatorRepository @Inject constructor(private val assets: AssetManager)
fun getAppCreators(): Single<List<AppCreator>> {
return Single.fromCallable<List<AppCreator>> {
Gson().fromJson(
assets.open("creators.json").bufferedReader().use { it.readText() },
assets.open("contributors.json").bufferedReader().use { it.readText() },
Array<AppCreator>::class.java
).toList()
}