Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasnlm committed Sep 6, 2023
1 parent 4516ba4 commit a332eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ class XRay private constructor() {
}
INSTANCE.writeOnBitmap(bitmap, getShortRibletName(routerName))
view.background =
BitmapDrawable(view.context.resources, bitmap).apply {
gravity = Gravity.CENTER
}
BitmapDrawable(view.context.resources, bitmap).apply { gravity = Gravity.CENTER }

if (INSTANCE.config.alphaEnabled) {
view.alpha = XRAY_ALPHA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package com.uber.rib.core

/**
* Configuration for XRay.
*
* @property enabled `true` to enable XRay. By default it is disabled.
* @property alphaEnabled `true` to enable alpha changes when XRay is enabled.
*/
Expand Down

0 comments on commit a332eff

Please sign in to comment.