mirror of
https://github.com/UrbanApps/Armchair.git
synced 2026-11-27 18:52:36 +01:00
Update README.md
This commit is contained in:
1 parent
5a4d1da0b5
commit
2f7b70cb0d
1 file changed
+1
-1
@@ -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