Skip to content

Commit

Permalink
fix: detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-espie committed Nov 28, 2024
1 parent 1a651c0 commit 004ca52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/src/main/java/com/geeksville/mesh/ui/MessagesFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion app/src/main/java/com/geeksville/mesh/ui/ShareFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ class ShareFragment : ScreenFragment("Messages"), Logging {
}
}


@Composable
fun ShareContactListView(
contacts: List<Contact>,
Expand Down

0 comments on commit 004ca52

Please sign in to comment.