Skip to content

Commit

Permalink
ktlint
Browse files Browse the repository at this point in the history
Signed-off-by: Mohsen Mirhoseini <[email protected]>
  • Loading branch information
Mohsen Mirhoseini committed Jan 19, 2024
1 parent e94ed04 commit 6914241
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ class AddToCartModeActivity : AppCompatActivity() {
ShoppingViewOptions(
theme = ShoppingTheme.DARK,
productDetailsOptions =
ProductDetailsOptions(
linkButtonOptions = LinkButtonOptions(true),
shoppingCtaButtonOptions = ShoppingCtaButtonOptions(text = ShoppingCtaButtonOptions.Text.ADD_TO_CART),
),
ProductDetailsOptions(
linkButtonOptions = LinkButtonOptions(true),
shoppingCtaButtonOptions = ShoppingCtaButtonOptions(text = ShoppingCtaButtonOptions.Text.ADD_TO_CART),
),
),
)
shopping.setShoppingCartBehaviour(Shopping.CartBehaviour.Embedded("some title"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ class ShopNowModeActivity : AppCompatActivity(), Shopping.OnShoppingErrorListene
ShoppingViewOptions(
theme = ShoppingTheme.DARK,
productDetailsOptions =
ProductDetailsOptions(
linkButtonOptions = LinkButtonOptions(false),
shoppingCtaButtonOptions = ShoppingCtaButtonOptions(text = ShoppingCtaButtonOptions.Text.SHOP_NOW),
),
ProductDetailsOptions(
linkButtonOptions = LinkButtonOptions(false),
shoppingCtaButtonOptions = ShoppingCtaButtonOptions(text = ShoppingCtaButtonOptions.Text.SHOP_NOW),
),
),
)
shopping.setOnCtaButtonClicked { _, _, productWebUrl, _ ->
Expand Down

0 comments on commit 6914241

Please sign in to comment.