Explorar o código

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana %!s(int64=2) %!d(string=hai) anos
pai
achega
bbba65dd02
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      iOSClient/GUI/ComponentView.swift

+ 1 - 0
iOSClient/GUI/ComponentView.swift

@@ -54,5 +54,6 @@ struct ButtonRounded: ButtonStyle {
             .background(disabled ? Color(UIColor.placeholderText) : Color(NCBrandColor.shared.brand))
             .foregroundColor(disabled ? Color(UIColor.placeholderText) : Color(NCBrandColor.shared.brandText))
             .clipShape(Capsule())
+            .opacity(configuration.isPressed ? 0.5 : 1.0)
     }
 }