mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
use getters
This commit is contained in:
parent
2f3c2c0f17
commit
1cbe3c0d04
1 changed files with 4 additions and 4 deletions
|
@ -124,14 +124,14 @@ public class CallMenuController extends BaseController implements FlexibleAdapte
|
|||
menuItems = new ArrayList<>();
|
||||
|
||||
if (menuType.equals(MenuType.REGULAR)) {
|
||||
if (!TextUtils.isEmpty(room.displayName)) {
|
||||
if (!TextUtils.isEmpty(room.getDisplayName())) {
|
||||
menuItems.add(new MenuItem(
|
||||
getResources().getString(
|
||||
R.string.nc_configure_named_room, room.displayName), 0, null)
|
||||
R.string.nc_configure_named_room, getDisplayName()), 0, null)
|
||||
);
|
||||
} else if (!TextUtils.isEmpty(room.name)) {
|
||||
} else if (!TextUtils.isEmpty(room.getName())) {
|
||||
menuItems.add(new MenuItem(getResources().getString(
|
||||
R.string.nc_configure_named_room, room.name), 0, null)
|
||||
R.string.nc_configure_named_room, room.getName()), 0, null)
|
||||
);
|
||||
} else {
|
||||
menuItems.add(new MenuItem(getResources().getString(R.string.nc_configure_room), 0, null));
|
||||
|
|
Loading…
Reference in a new issue