Remove useless formatting
This commit is contained in:
parent
5af4e56370
commit
9002e3c240
@ -29,7 +29,7 @@ class LicenseActivity: BaseActivity() {
|
|||||||
|
|
||||||
private fun setupRecyclerView() {
|
private fun setupRecyclerView() {
|
||||||
val text: String = applicationContext.assets.open("licenses.json")
|
val text: String = applicationContext.assets.open("licenses.json")
|
||||||
.bufferedReader().use { it.readText().replace("\r\n", "\n") }
|
.bufferedReader().use { it.readText() }
|
||||||
val listObj: List<OpenSourceItem> = Gson().fromJson(text, Libraries::class.java).libraries
|
val listObj: List<OpenSourceItem> = Gson().fromJson(text, Libraries::class.java).libraries
|
||||||
|
|
||||||
val adapter = OpenSourceLicenseAdapter()
|
val adapter = OpenSourceLicenseAdapter()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user