Robot-Scouter
Robot-Scouter copied to clipboard
Don't show "Set template as default" snackbar if template creation failed
This requires #274. With the current architecture, fixing a bug like this is basically impossible.
Here's where things fail: https://github.com/SUPERCILEX/Robot-Scouter/blob/30438c9a39da0bb6a759dee25ae315f19f562b41/library/core-data/src/main/java/com/supercilex/robotscouter/core/data/model/Templates.kt#L80-L86