Browse Source

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 years ago
parent
commit
bbba65dd02
1 changed files with 1 additions and 0 deletions
  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)
     }
 }