mirror of
https://github.com/UrbanApps/Armchair.git
synced 2026-03-26 11:21:37 +01:00
Update README.md
This commit is contained in:
@@ -324,7 +324,7 @@ The `ArmchairShouldPromptClosure` passes you the keys and values Armchair used t
|
||||
Armchair.shouldPromptClosure(shouldPromptClosure: ArmchairShouldPromptClosure?)
|
||||
|
||||
|
||||
In addition to the global `shouldPromptClosure`, the Armchair functions that trigger the presentation of the prompt (`showPrompt(ifNecessary: Bool)` and `userDidSignificantEvent()`) have their own closure based variant that allows you to customize whether or not this is an appropriate time to display the prompt.
|
||||
In addition to the global `shouldPromptClosure`, the Armchair functions that trigger the presentation of the prompt (`showPromptIfNecessary` and `userDidSignificantEvent()`) have their own closure based variant that allows you to customize whether or not this is an appropriate time to display the prompt.
|
||||
|
||||
Armchair.showPrompt(shouldPrompt: ArmchairShouldPromptClosure)
|
||||
Armchair.userDidSignificantEvent(shouldPrompt: ArmchairShouldPromptClosure)
|
||||
|
||||
Reference in New Issue
Block a user