Commit graph

8 commits

Author SHA1 Message Date
Garth Vander Houwen
82a8336e35 Additional swift lint fixes 2024-06-02 20:13:40 -07:00
Blake McAnally
4d547e48db This change fixes several lint errors throughout the project, and moves the SwiftLint build phase to before compilation.
After this change, a developer can now clone the project and run without the build failing due to lint errors! 😃

* I ran `swiftlint --fix` to resolve many auto-correctable issues (mostly whitespace)
* Excluded the `Meshtastic/Protobufs` directory from lint, since that code is automatically generated.
* Converted some single letter method parameters to lowercase.
* Converted several instances `force_cast` to instead use `guard` or `if let` to unwrap optional values. During this change, some of the SwiftUI views became "too complex to be solved in a reasonable time", so I broke up the views into distinct sub-expressions.

I was able to build and run the app on an iOS simulator.
2024-05-31 21:48:50 -05:00
Garth Vander Houwen
089e13db08 Add user role to node list 2023-12-21 19:33:45 -08:00
Garth Vander Houwen
260e71eb26 Add has positions logic to trace routes and core data. 2023-12-21 12:30:04 -08:00
Garth Vander Houwen
60eb3a0b05 pluralize hops 2023-12-21 11:15:17 -08:00
Garth Vander Houwen
8dc1210607 Trace route cleanup, smarter positions for phone locations on ios 17 2023-12-21 10:59:09 -08:00
Garth Vander Houwen
a30fc18d73 Trace route cleanup 2023-12-09 15:01:01 -08:00
Garth Vander Houwen
bd5191ccd2 Initial trace route log 2023-12-08 11:41:29 -08:00