This commit is contained in:
stom79 2018-11-10 08:57:06 +01:00
parent e97f05d1d4
commit 4733d101d0
2 changed files with 4 additions and 4 deletions

View File

@ -1625,11 +1625,11 @@ public abstract class BaseMainActivity extends BaseActivity
}
public void refreshFilters(){
if(homeFragment != null && homeFragment.getUserVisibleHint())
if(homeFragment != null)
homeFragment.refreshFilter();
if(localFragment != null && localFragment.getUserVisibleHint())
if(localFragment != null)
localFragment.refreshFilter();
if(federatedFragment != null && federatedFragment.getUserVisibleHint())
if(federatedFragment != null)
federatedFragment.refreshFilter();
}

View File

@ -2597,7 +2597,7 @@ public class Helper {
String content = status.getContent();
if( status.getSpoiler_text() != null)
content += status.getSpoiler_text();
content += " "+ status.getSpoiler_text();
boolean addToot = true; //Flag to tell if the current toot will be added.
if( status.getAccount() == null)
addToot = false;