Skip to content

Commit

Permalink
Use String concatenation
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Guerinet <julien@guerinet.com>
  • Loading branch information
jguerinet committed Apr 6, 2018
1 parent f175569 commit 9621b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/src/main/java/com/guerinet/suitcase/util/Device.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ object Device {
fun model(): String {
var model = Build.MODEL
if (!model.startsWith(Build.MANUFACTURER, true)) {
model = Build.MANUFACTURER + " " + model
model = "${Build.MANUFACTURER} $model"
}
return model
}
Expand Down

0 comments on commit 9621b03

Please sign in to comment.