mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 13:37:11 +00:00
Include templates in the swiftlint search path. Fixed warnings.
This commit is contained in:
parent
2f6015b97b
commit
fd23649f95
@ -14,6 +14,7 @@ opt_in_rules:
|
||||
# paths to include during linting. `--path` is ignored if present.
|
||||
included:
|
||||
- ElementX
|
||||
- Tools/Scripts/Templates
|
||||
|
||||
line_length:
|
||||
warning: 250
|
||||
|
@ -57,9 +57,9 @@ struct TemplateSimpleScreen: View {
|
||||
Image(systemName: context.viewState.promptType.imageSystemName)
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(width:100)
|
||||
.frame(width: 100)
|
||||
|
||||
HStack{
|
||||
HStack {
|
||||
Text("Counter: \(context.viewState.count)")
|
||||
|
||||
Button("-") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user