Fix page restoration when re-opening media keyboard.

fork-5.53.8
Alex Hart 2022-01-25 09:47:05 -04:00
rodzic a0031298d8
commit 926f5b3cdf
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2726,7 +2726,7 @@ public class ConversationParentFragment extends Fragment
}
private void initializeMediaKeyboardProviders() {
KeyboardPagerViewModel keyboardPagerViewModel = new ViewModelProvider(this).get(KeyboardPagerViewModel.class);
KeyboardPagerViewModel keyboardPagerViewModel = new ViewModelProvider(requireActivity()).get(KeyboardPagerViewModel.class);
switch (TextSecurePreferences.getMediaKeyboardMode(requireContext())) {
case EMOJI: