diff --git a/docs/topics/using-platform-paths.md b/docs/topics/using-platform-paths.md index 850fa2f..fe2ab9a 100644 --- a/docs/topics/using-platform-paths.md +++ b/docs/topics/using-platform-paths.md @@ -21,7 +21,7 @@ class MainActivity : ComponentActivity() { ## On iOS & other Apple platforms To get a path on iOS, you can use `NSHomeDirectory`. ```kotlin -appDir = "${NSHomeDirectory()}/$id.json" +appDir = NSHomeDirectory() ``` ## On Desktop (JVM)