birdofpreyru / react-native-fs

File system access for React Native
https://dr.pogodin.studio/docs/react-native-file-system
Other
121 stars 8 forks source link

[Android] Correct Kotlin code #23

Closed birdofpreyru closed 5 months ago

birdofpreyru commented 6 months ago

https://github.com/birdofpreyru/react-native-fs/blob/6d7ba9e729c9113c93dc26e63b868cf2c8a91dc8/android/src/main/java/com/drpogodin/reactnativefs/ReactNativeFsModule.kt#L72-L73

This should be just

  override fun getTypedExportedConstants(): MutableMap<String, Any> {
        val constants: MutableMap<String, Any> = HashMap()

and then return statements will be just

return constants