|
|
@ -128,10 +128,17 @@ public class WatchNotifier { |
|
|
|
|
|
|
|
|
|
|
|
List<CharSequence> lines = new ArrayList<CharSequence>(); |
|
|
|
List<CharSequence> lines = new ArrayList<CharSequence>(); |
|
|
|
for (Post post : posts) { |
|
|
|
for (Post post : posts) { |
|
|
|
|
|
|
|
CharSequence comment; |
|
|
|
|
|
|
|
if (post.comment.length() == 0) { |
|
|
|
|
|
|
|
comment = "(image)"; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
comment = post.comment; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (pins.size() > 1) { |
|
|
|
if (pins.size() > 1) { |
|
|
|
lines.add(post.title + ": " + post.comment); |
|
|
|
lines.add(post.title + ": " + comment); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
lines.add(post.comment); |
|
|
|
lines.add(comment); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|