Fix indent
This commit is contained in:
parent
9426a9bc59
commit
f016b87ea0
|
@ -274,21 +274,21 @@ public abstract class StatusDisplayItem{
|
||||||
contentItems=items;
|
contentItems=items;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(statusForContent.quote!=null) {
|
if(statusForContent.quote!=null) {
|
||||||
int quoteInlineIndex=statusForContent.content.lastIndexOf("<span class=\"quote-inline\"><br/><br/>RE:");
|
int quoteInlineIndex=statusForContent.content.lastIndexOf("<span class=\"quote-inline\"><br/><br/>RE:");
|
||||||
if(quoteInlineIndex==-1)
|
if(quoteInlineIndex==-1)
|
||||||
quoteInlineIndex=statusForContent.content.lastIndexOf("<span class=\"quote-inline\"><br><br>RE:");
|
quoteInlineIndex=statusForContent.content.lastIndexOf("<span class=\"quote-inline\"><br><br>RE:");
|
||||||
if(quoteInlineIndex!=-1)
|
if(quoteInlineIndex!=-1)
|
||||||
statusForContent.content=statusForContent.content.substring(0, quoteInlineIndex);
|
statusForContent.content=statusForContent.content.substring(0, quoteInlineIndex);
|
||||||
else {
|
else {
|
||||||
// hide non-official quote patters
|
// hide non-official quote patters
|
||||||
Matcher matcher=QUOTE_MENTION_PATTERN.matcher(status.content);
|
Matcher matcher=QUOTE_MENTION_PATTERN.matcher(status.content);
|
||||||
if(matcher.find()){
|
if(matcher.find()){
|
||||||
String quoteMention=matcher.group();
|
String quoteMention=matcher.group();
|
||||||
statusForContent.content=statusForContent.content.replace(quoteMention, "");
|
statusForContent.content=statusForContent.content.replace(quoteMention, "");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
boolean hasSpoiler=!TextUtils.isEmpty(statusForContent.spoilerText);
|
boolean hasSpoiler=!TextUtils.isEmpty(statusForContent.spoilerText);
|
||||||
if(!TextUtils.isEmpty(statusForContent.content)){
|
if(!TextUtils.isEmpty(statusForContent.content)){
|
||||||
|
|
Loading…
Reference in New Issue