Skip to content

Commit f715502

Browse files
committed
Added whitespace around ternary operator, because the style guide is picky about that.
1 parent 33253cb commit f715502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/firebase/uidemo/database/ChatActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public void populateViewHolder(ChatHolder chatView, Chat chat, int position) {
162162
@Override
163163
protected void onDataChanged() {
164164
// if there are no chat messages, show a view that invites the user to add a message
165-
mEmptyListView.setVisibility(mRecyclerViewAdapter.getItemCount() == 0?View.VISIBLE:View.INVISIBLE);
165+
mEmptyListView.setVisibility(mRecyclerViewAdapter.getItemCount() == 0 ? View.VISIBLE : View.INVISIBLE);
166166
}
167167
};
168168

0 commit comments

Comments
 (0)