Remove companion object

This commit is contained in:
Kavin 2022-11-16 15:56:23 +00:00
parent a89d131413
commit c3f3b004f5
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -13,8 +13,7 @@ import javax.xml.transform.stream.StreamResult
// Based off of https://github.com/TeamPiped/Piped/blob/master/src/utils/DashUtils.js
class DashHelper {
companion object {
object DashHelper {
private val builderFactory: DocumentBuilderFactory = DocumentBuilderFactory.newInstance()
private val transformerFactory: TransformerFactory = TransformerFactory.newInstance()
@ -172,5 +171,4 @@ class DashHelper {
return representation
}
}
}