Skip to content

Commit

Permalink
fix: make skipExitPage and showFooter parameters optional for android
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-khipu committed Jul 31, 2024
1 parent 7f02daa commit 9f679a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/src/main/java/com/khipu/KhipuModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ class KhipuModule(reactContext: ReactApplicationContext) :

options.getString("title")?.let { optionsBuilder.topBarTitle(it) }
options.getString("titleImageUrl")?.let { optionsBuilder.topBarImageUrl(it) }
options.getBoolean("skipExitPage")?.let { optionsBuilder.skipExitPage(it) }
options.getBoolean("showFooter")?.let { optionsBuilder.showFooter(it) }
if (options.hasKey("skipExitPage")) optionsBuilder.skipExitPage(options.getBoolean("skipExitPage"))
if (options.hasKey("showFooter")) optionsBuilder.showFooter(options.getBoolean("showFooter"))
options.getString("locale")?.let { optionsBuilder.locale(it) }
if (options.hasKey("theme")) {
val theme: String = options.getString("theme")!!
Expand Down

0 comments on commit 9f679a0

Please sign in to comment.