mirror of
https://github.com/nextcloud/android.git
synced 2024-12-18 23:11:58 +03:00
make file search working again
This commit is contained in:
parent
e40fd02d72
commit
277704e89f
1 changed files with 7 additions and 2 deletions
|
@ -1442,8 +1442,13 @@ public class OCFileListFragment extends ExtendedListFragment implements OCFileLi
|
|||
}
|
||||
}
|
||||
|
||||
private void setTitle(@StringRes int title) {
|
||||
((FileDisplayActivity) getActivity()).getSupportActionBar().setTitle(title);
|
||||
private void setTitle(@StringRes final int title) {
|
||||
getActivity().runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
((FileDisplayActivity) getActivity()).getSupportActionBar().setTitle(title);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue