~singpolyma/cheogram-android

5c4bf9e466c0bffeca81e10e14bbc945d7f8ce0b — Stephen Paul Weber 9 months ago 89ebd45
Fix NPE
1 files changed, 1 insertions(+), 0 deletions(-)

M src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
M src/main/java/eu/siacs/conversations/ui/ConversationFragment.java => src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +1 -0
@@ 1488,6 1488,7 @@ public class ConversationFragment extends XmppFragment
    }

    protected void newThreadTutorialToast(String s) {
        if (activity == null) return;
        final SharedPreferences p = PreferenceManager.getDefaultSharedPreferences(activity);
        final int tutorialCount = p.getInt("thread_tutorial", 0);
        if (tutorialCount < 5) {