Fix names of the gen. sources due to file renames
This commit is contained in:
parent
74f2b6f268
commit
1fe721010d
@ -15,7 +15,7 @@ import androidx.navigation.ui.NavigationUI;
|
||||
|
||||
import awais.instagrabber.R;
|
||||
import awais.instagrabber.databinding.ActivityDirectMessagesBinding;
|
||||
import awais.instagrabber.fragments.directmessages.DirectMessagesThreadFragmentArgs;
|
||||
import awais.instagrabber.fragments.directmessages.DirectMessageThreadFragmentArgs;
|
||||
|
||||
public class DirectMessagesActivity extends BaseLanguageActivity implements NavController.OnDestinationChangedListener {
|
||||
|
||||
@ -51,7 +51,7 @@ public class DirectMessagesActivity extends BaseLanguageActivity implements NavC
|
||||
if (arguments == null) {
|
||||
return;
|
||||
}
|
||||
final String title = DirectMessagesThreadFragmentArgs.fromBundle(arguments).getTitle();
|
||||
final String title = DirectMessageThreadFragmentArgs.fromBundle(arguments).getTitle();
|
||||
setToolbarTitle(title);
|
||||
return;
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ public class DirectMessageInboxFragment extends Fragment implements SwipeRefresh
|
||||
layoutManager = new LinearLayoutManager(requireContext());
|
||||
inboxList.setLayoutManager(layoutManager);
|
||||
final DirectMessageInboxAdapter inboxAdapter = new DirectMessageInboxAdapter(inboxThreadModel -> {
|
||||
final NavDirections action = DirectMessagesInboxFragmentDirections.actionDMInboxFragmentToDMThreadFragment(inboxThreadModel.getThreadId(), inboxThreadModel.getThreadTitle());
|
||||
final NavDirections action = DirectMessageInboxFragmentDirections.actionDMInboxFragmentToDMThreadFragment(inboxThreadModel.getThreadId(), inboxThreadModel.getThreadTitle());
|
||||
NavHostFragment.findNavController(this).navigate(action);
|
||||
});
|
||||
inboxList.setAdapter(inboxAdapter);
|
||||
|
@ -160,7 +160,7 @@ public class DirectMessageThreadFragment extends Fragment {
|
||||
if (getArguments() == null) {
|
||||
return root;
|
||||
}
|
||||
threadId = DirectMessagesThreadFragmentArgs.fromBundle(getArguments()).getThreadId();
|
||||
threadId = DirectMessageThreadFragmentArgs.fromBundle(getArguments()).getThreadId();
|
||||
binding.swipeRefreshLayout.setEnabled(false);
|
||||
messageList = binding.messageList;
|
||||
messageList.setHasFixedSize(true);
|
||||
|
Loading…
Reference in New Issue
Block a user