Skip to content

Commit

Permalink
Fix docs typo
Browse files Browse the repository at this point in the history
  • Loading branch information
teble committed Apr 12, 2024
1 parent 6338a5e commit 14a8f21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc-source/src/en/guide/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ private fun saveData(bridge: DexKitBridge) {
usingStrings("onClick")
}
}.single().let {
val descriptor = it.toDexMethod().descriptor
val descriptor = it.descriptor
val sp = getSharedPreferences("dexkit", Context.MODE_PRIVATE)
sp.edit().putString("onClickMethod", descriptor).apply()
}
Expand Down
2 changes: 1 addition & 1 deletion doc-source/src/zh-cn/guide/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ private fun saveData(bridge: DexKitBridge) {
usingStrings("onClick")
}
}.single().let {
val descriptor = it.toDexMethod().descriptor
val descriptor = it.descriptor
val sp = getSharedPreferences("dexkit", Context.MODE_PRIVATE)
sp.edit().putString("onClickMethod", descriptor).apply()
}
Expand Down

0 comments on commit 14a8f21

Please sign in to comment.