mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 12:19:54 +01:00
Removed redundant calls to setTextSize(14), which is the default.
This commit is contained in:
@@ -63,7 +63,6 @@ class ContactListAdapter extends ArrayAdapter<ContactListItem> {
|
||||
layout.addView(name);
|
||||
|
||||
TextView connected = new TextView(ctx);
|
||||
connected.setTextSize(14);
|
||||
connected.setPadding(0, pad, pad, pad);
|
||||
if(item.isConnected()) {
|
||||
connected.setText(R.string.contact_connected);
|
||||
|
||||
@@ -71,7 +71,6 @@ class ConversationAdapter extends ArrayAdapter<ConversationItem> {
|
||||
date.setLayoutParams(MATCH_WRAP);
|
||||
if(header.isLocal()) date.setGravity(RIGHT);
|
||||
else date.setGravity(LEFT);
|
||||
date.setTextSize(14);
|
||||
date.setTextColor(res.getColor(R.color.private_message_date));
|
||||
date.setBackgroundColor(background);
|
||||
date.setPadding(pad, 0, pad, pad);
|
||||
|
||||
@@ -119,7 +119,6 @@ implements OnClickListener {
|
||||
int pad = LayoutUtils.getPadding(this);
|
||||
|
||||
TextView date = new TextView(this);
|
||||
date.setTextSize(14);
|
||||
date.setPadding(0, pad, pad, pad);
|
||||
date.setText(DateUtils.getRelativeTimeSpanString(this, timestamp));
|
||||
header.addView(date);
|
||||
|
||||
Reference in New Issue
Block a user