Fix some issues
This commit is contained in:
parent
1edd554fde
commit
2ebbc27c0a
|
@ -634,6 +634,7 @@ public class ComposeActivity extends BaseActivity implements ComposeAdapter.Mana
|
||||||
}
|
}
|
||||||
if (statusReply.spoiler_text != null) {
|
if (statusReply.spoiler_text != null) {
|
||||||
statusDraftList.get(0).spoiler_text = statusReply.spoiler_text;
|
statusDraftList.get(0).spoiler_text = statusReply.spoiler_text;
|
||||||
|
statusDraftList.get(0).spoilerChecked = true;
|
||||||
}
|
}
|
||||||
if (statusReply.language != null && !statusReply.language.isEmpty()) {
|
if (statusReply.language != null && !statusReply.language.isEmpty()) {
|
||||||
statusDraftList.get(0).language = statusReply.language;
|
statusDraftList.get(0).language = statusReply.language;
|
||||||
|
|
|
@ -313,8 +313,6 @@ public class NotificationAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
|
||||||
notification.filteredByApp = null;
|
notification.filteredByApp = null;
|
||||||
notifyItemChanged(position);
|
notifyItemChanged(position);
|
||||||
});
|
});
|
||||||
} else if (getItemViewType(position) == TYPE_HIDDEN) {
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
StatusAdapter.StatusViewHolder holderStatus = (StatusAdapter.StatusViewHolder) viewHolder;
|
StatusAdapter.StatusViewHolder holderStatus = (StatusAdapter.StatusViewHolder) viewHolder;
|
||||||
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
|
|
Loading…
Reference in New Issue