mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 04:32:32 +00:00
fix(UI): Remove border from button when backgroundColor is set
This commit is contained in:
@@ -52,7 +52,9 @@ class LunaButton extends Card {
|
||||
? Colors.black.withOpacity(LunaUI.BUTTON_BACKGROUND_OPACITY)
|
||||
: LunaColours.primary
|
||||
.withOpacity(LunaUI.BUTTON_BACKGROUND_OPACITY),
|
||||
shape: LunaUI.shapeBorder,
|
||||
shape: backgroundColor != null
|
||||
? LunaShapeBorder.rounded()
|
||||
: LunaUI.shapeBorder,
|
||||
elevation: LunaUI.ELEVATION,
|
||||
clipBehavior: Clip.antiAlias,
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user