diff --git a/app/src/main/java/com/kylecorry/trail_sense/navigation/beacons/ui/PlaceBeaconFragment.kt b/app/src/main/java/com/kylecorry/trail_sense/navigation/beacons/ui/PlaceBeaconFragment.kt index 4545f2928..a07801ee6 100644 --- a/app/src/main/java/com/kylecorry/trail_sense/navigation/beacons/ui/PlaceBeaconFragment.kt +++ b/app/src/main/java/com/kylecorry/trail_sense/navigation/beacons/ui/PlaceBeaconFragment.kt @@ -206,7 +206,7 @@ class PlaceBeaconFragment : BoundFragment() { private fun hasValidName(): Boolean { - return !form.data.name.isNullOrBlank() + return form.data.name.isNotBlank() } private fun updateColor() { diff --git a/app/src/main/res/layout/fragment_camera_input.xml b/app/src/main/res/layout/fragment_camera_input.xml index 0bcfb66dd..304f70854 100644 --- a/app/src/main/res/layout/fragment_camera_input.xml +++ b/app/src/main/res/layout/fragment_camera_input.xml @@ -1,6 +1,5 @@ diff --git a/app/src/main/res/layout/fragment_tool_flashlight.xml b/app/src/main/res/layout/fragment_tool_flashlight.xml index f2ccf1bb7..dbd3cf379 100644 --- a/app/src/main/res/layout/fragment_tool_flashlight.xml +++ b/app/src/main/res/layout/fragment_tool_flashlight.xml @@ -2,7 +2,6 @@ diff --git a/app/src/main/res/layout/view_multi_unit_input.xml b/app/src/main/res/layout/view_multi_unit_input.xml index 74ae44f78..465e24995 100644 --- a/app/src/main/res/layout/view_multi_unit_input.xml +++ b/app/src/main/res/layout/view_multi_unit_input.xml @@ -1,6 +1,5 @@ - +