forked from github/wulkanowy-mirror
Change asset name and contributor name (#714)
This commit is contained in:
parent
2634c270b1
commit
ab1d9b358e
@ -20,7 +20,7 @@
|
|||||||
"githubUsername": "doteq"
|
"githubUsername": "doteq"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"displayName": "Pavuloff",
|
"displayName": "Paweł Krzyś",
|
||||||
"githubUsername": "pavuloff"
|
"githubUsername": "pavuloff"
|
||||||
},
|
},
|
||||||
{
|
{
|
@ -12,7 +12,7 @@ class AppCreatorRepository @Inject constructor(private val assets: AssetManager)
|
|||||||
fun getAppCreators(): Single<List<AppCreator>> {
|
fun getAppCreators(): Single<List<AppCreator>> {
|
||||||
return Single.fromCallable<List<AppCreator>> {
|
return Single.fromCallable<List<AppCreator>> {
|
||||||
Gson().fromJson(
|
Gson().fromJson(
|
||||||
assets.open("creators.json").bufferedReader().use { it.readText() },
|
assets.open("contributors.json").bufferedReader().use { it.readText() },
|
||||||
Array<AppCreator>::class.java
|
Array<AppCreator>::class.java
|
||||||
).toList()
|
).toList()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user