mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +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.
|
# paths to include during linting. `--path` is ignored if present.
|
||||||
included:
|
included:
|
||||||
- ElementX
|
- ElementX
|
||||||
|
- Tools/Scripts/Templates
|
||||||
|
|
||||||
line_length:
|
line_length:
|
||||||
warning: 250
|
warning: 250
|
||||||
|
@ -57,9 +57,9 @@ struct TemplateSimpleScreen: View {
|
|||||||
Image(systemName: context.viewState.promptType.imageSystemName)
|
Image(systemName: context.viewState.promptType.imageSystemName)
|
||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFit()
|
.scaledToFit()
|
||||||
.frame(width:100)
|
.frame(width: 100)
|
||||||
|
|
||||||
HStack{
|
HStack {
|
||||||
Text("Counter: \(context.viewState.count)")
|
Text("Counter: \(context.viewState.count)")
|
||||||
|
|
||||||
Button("-") {
|
Button("-") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user