Fix issue with toot button
This commit is contained in:
parent
41c21fae6c
commit
7a01718255
|
@ -2349,12 +2349,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( context instanceof BaseMainActivity){
|
|
||||||
FloatingActionButton toot = ((BaseMainActivity) context).findViewById(R.id.toot);
|
|
||||||
if( toot != null){
|
|
||||||
toot.hide();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
holder.quick_reply_button.setOnClickListener(view -> {
|
holder.quick_reply_button.setOnClickListener(view -> {
|
||||||
sendToot();
|
sendToot();
|
||||||
|
@ -2364,6 +2359,12 @@ 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;
|
||||||
|
|
Loading…
Reference in New Issue