Rename a callslist controller

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-08-04 21:58:51 +02:00
parent d4f941d29f
commit 60d11108c8
2 changed files with 5 additions and 5 deletions

View file

@ -92,11 +92,11 @@ import io.reactivex.schedulers.Schedulers;
import retrofit2.HttpException;
@AutoInjector(NextcloudTalkApplication.class)
public class CallsListController extends BaseController implements SearchView.OnQueryTextListener,
public class ConversationsListController extends BaseController implements SearchView.OnQueryTextListener,
FlexibleAdapter.OnItemClickListener, FlexibleAdapter.OnItemLongClickListener, FastScroller
.OnScrollStateChangeListener {
public static final String TAG = "CallsListController";
public static final String TAG = "ConversationsListController";
private static final String KEY_SEARCH_QUERY = "ContactsController.searchQuery";
@ -130,7 +130,7 @@ public class CallsListController extends BaseController implements SearchView.On
private View view;
private boolean shouldUseLastMessageLayout;
public CallsListController() {
public ConversationsListController() {
super();
setHasOptionsMenu(true);
}

View file

@ -28,7 +28,7 @@ import android.support.annotation.IdRes;
import com.bluelinelabs.conductor.Controller;
import com.nextcloud.talk.R;
import com.nextcloud.talk.controllers.CallsListController;
import com.nextcloud.talk.controllers.ConversationsListController;
import com.nextcloud.talk.controllers.ContactsController;
import com.nextcloud.talk.controllers.SettingsController;
import com.nextcloud.talk.utils.BottomNavigationUtils;
@ -37,7 +37,7 @@ import com.nextcloud.talk.utils.BottomNavigationUtils;
* Enum representation of valid Bottom Navigation Menu Items
*/
public enum BottomNavigationMenuItem {
CALLS(R.id.navigation_calls, CallsListController.class),
CALLS(R.id.navigation_calls, ConversationsListController.class),
CONTACTS(R.id.navigation_contacts, ContactsController.class),
SETTINGS(R.id.navigation_settings, SettingsController.class);