mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
Use string format instead of concatenation in MessageDetailsDialog
This commit is contained in:
@ -67,6 +67,6 @@ class MessageDetailsDialog(val activity: BaseSimpleActivity, val message: Messag
|
||||
}
|
||||
|
||||
private fun Message.getReceivedAt(): String {
|
||||
return DateTime(date * 1000L).toString(activity.config.dateFormat + " " + activity.getTimeFormat())
|
||||
return DateTime(date * 1000L).toString("${activity.config.dateFormat} ${activity.getTimeFormat()}")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user