Show conversation account name, crowdin sync

This commit is contained in:
M66B
2019-01-24 19:52:53 +00:00
parent 721bdda01c
commit 3da67e9817
21 changed files with 155 additions and 126 deletions

View File

@@ -1401,7 +1401,12 @@ public class FragmentMessages extends FragmentBase {
break;
case THREAD:
setSubtitle(R.string.title_folder_thread);
db.account().liveAccount(account).observe(getViewLifecycleOwner(), new Observer<EntityAccount>() {
@Override
public void onChanged(EntityAccount account) {
setSubtitle(getString(R.string.title_folder_thread, account == null ? "" : account.name));
}
});
break;
case SEARCH: