Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b623a7c9 authored by Jeff Hamilton's avatar Jeff Hamilton
Browse files

Don't crash when a user taps on a fast track trigger that isn't hooked up to a contact.

parent 66c70e13
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -425,6 +425,11 @@ public class ContactHeaderWidget extends FrameLayout implements View.OnClickList
    }

    public void onClick(View view) {
        // Make sure there is a contact
        if (mContactUri == null) {
            return;
        }

        switch (view.getId()) {
            case R.id.star: {
                // Toggle "starred" state