Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Added feature list size check in PolygonSelectToggleActivity #1352

Merged
merged 1 commit into from
May 19, 2020

Conversation

langsmith
Copy link
Contributor

PolygonSelectToggleActivity was missing a check for the feature list size. It was assuming it'd be > 0 , which led to a crash when none of the features were tapped on 👇. This pr fixes that by adding a if (features.isNotEmpty()) check

ezgif com-resize

@langsmith langsmith force-pushed the ls-kotlin-polygon-toggle-crash-fix branch from 764a157 to bf35634 Compare May 19, 2020 16:38
@langsmith langsmith merged commit b79f098 into master May 19, 2020
@langsmith langsmith deleted the ls-kotlin-polygon-toggle-crash-fix branch May 19, 2020 16:47
@langsmith langsmith mentioned this pull request Aug 18, 2020
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants