Skip to content

Commit bd5a7c7

Browse files
Merge pull request #291100 from pavelprystinka/pavelprystinka/fix_mistake_CustomButtonViewData
Fix class name CustomButtonViewData
2 parents ee89ec4 + e584ea9 commit bd5a7c7

File tree

2 files changed

+2
-2
lines changed
  • articles/communication-services/how-tos/ui-library-sdk/includes/button-injection

2 files changed

+2
-2
lines changed

articles/communication-services/how-tos/ui-library-sdk/includes/button-injection/android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ callComposite.launch(context, locator, localOptions)
109109
```java
110110
CallCompositeCallScreenControlBarOptions controlBarOptions = new CallCompositeCallScreenControlBarOptions();
111111

112-
List<CallCompositeCustomButtonOptions> customButtons = new ArrayList<>();
112+
List<CallCompositeCustomButtonViewData> customButtons = new ArrayList<>();
113113
customButtons.add(
114114
new CallCompositeCustomButtonViewData(
115115
"customButtonId",

articles/communication-services/how-tos/ui-library-sdk/includes/button-injection/ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ cameraButton.visible = true
4242
:::image type="content" source="../../media/add-button-experience.png" alt-text="Screenshot that shows the experienc when you add a new button the UI Library.":::
4343

4444
```swift
45-
let customButton = CustomButtonOptions(image: UIImage(named: "...")!,
45+
let customButton = CustomButtonViewData(image: UIImage(named: "...")!,
4646
title: "My button") {_ in
4747
// Process my button onClick
4848
}

0 commit comments

Comments
 (0)