ShieldActionDelegate Unexpected Behavior

ShieldActionDelegate called .secondaryButtonPressed with secondaryButtonLabel == nil.

Step to reproduce:

  1. Make configure ShieldConfiguration with primaryButtonLabel configure only.
  2. Add some method (in my case I add unblock all) in ShieldActionDelegate by case .secondaryButtonPressed
  3. On Shield make a few taps on secondary button area see attached image
  4. handle(action: ShieldAction, for application: ApplicationToken ... for case .secondaryButtonPressed called - it's wrong, I don't have second button configured, but action is called.

Added feedback: 13254523

Post not yet marked as solved Up vote post of potlov Down vote post of potlov
346 views