diff --git a/app/src/main/java/com/geeksville/mesh/ui/MessagesFragment.kt b/app/src/main/java/com/geeksville/mesh/ui/MessagesFragment.kt index 2b7a0482f..95e304ca4 100644 --- a/app/src/main/java/com/geeksville/mesh/ui/MessagesFragment.kt +++ b/app/src/main/java/com/geeksville/mesh/ui/MessagesFragment.kt @@ -132,7 +132,9 @@ class MessagesFragment : Fragment(), Logging { } contactKey = arguments?.getString("contactKey").toString() - if (arguments?.getString("message") != null) binding.messageInputText.setText(arguments?.getString("message").toString()) + if (arguments?.getString("message") != null) { + binding.messageInputText.setText(arguments?.getString("message").toString()) + } val channelIndex = contactKey[0].digitToIntOrNull() val nodeId = contactKey.substring(1) val channelName = channelIndex?.let { model.channels.value.getChannel(it)?.name } diff --git a/app/src/main/java/com/geeksville/mesh/ui/ShareFragment.kt b/app/src/main/java/com/geeksville/mesh/ui/ShareFragment.kt index 5aea6bbfe..23b7dca29 100644 --- a/app/src/main/java/com/geeksville/mesh/ui/ShareFragment.kt +++ b/app/src/main/java/com/geeksville/mesh/ui/ShareFragment.kt @@ -105,7 +105,6 @@ class ShareFragment : ScreenFragment("Messages"), Logging { } } - @Composable fun ShareContactListView( contacts: List,