Skip to content

Commit 95f4eef

Browse files
committed
Append newline only after SHA-1 is checked
1 parent a4be072 commit 95f4eef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/github/mobile/ui/user/NewsListAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,11 @@ private static void formatPush(Event event, StyledText main,
419419
if (commit == null)
420420
continue;
421421

422-
details.append('\n');
423-
424422
String sha = commit.getSha();
425423
if (TextUtils.isEmpty(sha))
426424
continue;
425+
426+
details.append('\n');
427427
if (sha.length() > 7)
428428
details.monospace(sha.substring(0, 7));
429429
else

0 commit comments

Comments
 (0)