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 26, 2024
1 parent a194bc4 commit 2577ada
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 @@ -118,7 +118,9 @@ class MessagesFragment : Fragment(), Logging {

contactKey = arguments?.getString("contactKey").toString()
val contactName = arguments?.getString("contactName").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())
}
binding.toolbar.title = contactName
val channelNumber = contactKey[0].digitToIntOrNull()
if (channelNumber == DataPacket.PKC_CHANNEL_INDEX) {
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 2577ada

Please sign in to comment.