Release 2.8.1

This commit is contained in:
tom79 2019-06-30 18:49:20 +02:00
parent 544fe5b64b
commit 9e92da0bc2
3 changed files with 17 additions and 9 deletions

View File

@ -6,8 +6,8 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 18 minSdkVersion 18
targetSdkVersion 28 targetSdkVersion 28
versionCode 287 versionCode 288
versionName "2.8.0" versionName "2.8.1"
multiDexEnabled true multiDexEnabled true
renderscriptTargetApi 28 as int renderscriptTargetApi 28 as int
renderscriptSupportModeEnabled true renderscriptSupportModeEnabled true

View File

@ -2317,7 +2317,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
holder.status_pin.setVisibility(View.GONE); holder.status_pin.setVisibility(View.GONE);
} }
if( (isAdmin || isModerator) && !isCompactMode && !isConsoleMode && getItemViewType(viewHolder.getAdapterPosition()) != FOCUSED_STATUS){ if( (isAdmin || isModerator) && !isCompactMode && !isConsoleMode && getItemViewType(viewHolder.getAdapterPosition()) != FOCUSED_STATUS && type != RetrieveFeedsAsyncTask.Type.REMOTE_INSTANCE){
holder.status_remove.setVisibility(View.VISIBLE); holder.status_remove.setVisibility(View.VISIBLE);
}else { }else {
holder.status_remove.setVisibility(View.GONE); holder.status_remove.setVisibility(View.GONE);
@ -2359,12 +2359,6 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
holder.quick_reply_privacy.setOnClickListener(view -> { holder.quick_reply_privacy.setOnClickListener(view -> {
if( context instanceof BaseMainActivity){
FloatingActionButton toot = ((BaseMainActivity) context).findViewById(R.id.toot);
if( toot != null){
toot.hide();
}
}
int style; int style;
if (theme == Helper.THEME_DARK) { if (theme == Helper.THEME_DARK) {
style = R.style.DialogDark; style = R.style.DialogDark;
@ -2502,6 +2496,12 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
if (quick_reply && type != RetrieveFeedsAsyncTask.Type.REMOTE_INSTANCE) { if (quick_reply && type != RetrieveFeedsAsyncTask.Type.REMOTE_INSTANCE) {
if( context instanceof BaseMainActivity){
FloatingActionButton toot = ((BaseMainActivity) context).findViewById(R.id.toot);
if( toot != null){
toot.hide();
}
}
holder.warning_message.setVisibility(View.GONE); holder.warning_message.setVisibility(View.GONE);
if( status.getWarningFetched() == -1 ){ if( status.getWarningFetched() == -1 ){
warning_message = holder.warning_message; warning_message = holder.warning_message;

View File

@ -0,0 +1,8 @@
<b>Added</b>
- Moderation feature for Pleroma
<b>Changed</b>
- Add media with polls with Pleroma
<b>Fixed</b>
- Behavior of the compose button when scrolling