|
@ -31,7 +31,6 @@ import awais.instagrabber.R; |
|
|
import awais.instagrabber.adapters.NotificationsAdapter; |
|
|
import awais.instagrabber.adapters.NotificationsAdapter; |
|
|
import awais.instagrabber.adapters.NotificationsAdapter.OnNotificationClickListener; |
|
|
import awais.instagrabber.adapters.NotificationsAdapter.OnNotificationClickListener; |
|
|
import awais.instagrabber.databinding.FragmentNotificationsViewerBinding; |
|
|
import awais.instagrabber.databinding.FragmentNotificationsViewerBinding; |
|
|
import awais.instagrabber.fragments.settings.MorePreferencesFragmentDirections; |
|
|
|
|
|
import awais.instagrabber.models.enums.NotificationType; |
|
|
import awais.instagrabber.models.enums.NotificationType; |
|
|
import awais.instagrabber.repositories.requests.StoryViewerOptions; |
|
|
import awais.instagrabber.repositories.requests.StoryViewerOptions; |
|
|
import awais.instagrabber.repositories.responses.FriendshipChangeResponse; |
|
|
import awais.instagrabber.repositories.responses.FriendshipChangeResponse; |
|
@ -278,7 +277,7 @@ public final class NotificationsViewerFragment extends Fragment implements Swipe |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void openProfile(final String username) { |
|
|
private void openProfile(final String username) { |
|
|
final NavDirections action = MorePreferencesFragmentDirections |
|
|
|
|
|
|
|
|
final NavDirections action = NotificationsViewerFragmentDirections |
|
|
.actionGlobalProfileFragment("@" + username); |
|
|
.actionGlobalProfileFragment("@" + username); |
|
|
NavHostFragment.findNavController(this).navigate(action); |
|
|
NavHostFragment.findNavController(this).navigate(action); |
|
|
} |
|
|
} |