Browse Source

coding

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 năm trước cách đây
mục cha
commit
bbba65dd02
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)
     }
 }