Commit graph

12 commits

Author SHA1 Message Date
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
525b1b2509 More map cleanup 2024-03-25 19:20:36 -07:00
Garth Vander Houwen
80103ebda2 Revert user default updates, move everything to the map settings form 2024-03-25 18:43:03 -07:00
Garth Vander Houwen
7eb6659c0c Move fetch requests to mapcontent 2024-03-25 15:21:38 -07:00
Garth Vander Houwen
b0101ab4ce A little more map cleanup 2024-03-24 23:13:35 -07:00
Garth Vander Houwen
f3f126da38 Add node history and route lines back to the mesh map for favorites 2024-03-24 22:56:38 -07:00
Garth Vander Houwen
c372a8e940 Shorten label for mesh map node distance 2024-03-24 22:37:50 -07:00
Garth Vander Houwen
554fe9a3ca Node distance filter for the mesh map 2024-03-24 22:23:55 -07:00
Garth Vander Houwen
d59eb07326 Turn of node history and route lines on the mesh map 2024-02-17 15:37:28 -08:00
Garth Vander Houwen
24868b4a28 Assorted updates 2023-11-26 10:45:03 -08:00
Garth Vander Houwen
f6cb21d6d8 Routes 2023-11-21 22:39:42 -08:00
Garth Vander Houwen
97a711cf73 Clean up the code for the history pins 2023-11-14 21:43:26 -08:00
Renamed from Meshtastic/Views/Nodes/Helpers/MapSettingsForm.swift (Browse further)