make file search working again

This commit is contained in:
tobiasKaminsky 2017-05-03 13:43:50 +02:00
parent e40fd02d72
commit 277704e89f
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -1442,8 +1442,13 @@ public class OCFileListFragment extends ExtendedListFragment implements OCFileLi
} }
} }
private void setTitle(@StringRes int title) { private void setTitle(@StringRes final int title) {
((FileDisplayActivity) getActivity()).getSupportActionBar().setTitle(title); getActivity().runOnUiThread(new Runnable() {
@Override
public void run() {
((FileDisplayActivity) getActivity()).getSupportActionBar().setTitle(title);
}
});
} }
@Override @Override