mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Move BigIcon into Compound and add a new TitleAndIcon component. (#4866)
* Move BigIcon into Compound. * Replace the old server selection image asset with the \.host icon. * Add a new TitleAndIcon component to Compound. * Add the ability to override TitleAndIcon's padding.
This commit is contained in:
@@ -13,7 +13,7 @@ public struct SendButton: View {
|
||||
@Environment(\.colorScheme) private var colorScheme
|
||||
|
||||
/// The action to perform when the user triggers the button.
|
||||
public let action: () -> Void
|
||||
private let action: () -> Void
|
||||
|
||||
private var iconColor: Color {
|
||||
guard isEnabled else { return .compound.iconQuaternary }
|
||||
|
||||
Reference in New Issue
Block a user