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

Commit 251a8cd4 authored by Vincent Wang's avatar Vincent Wang Committed by Automerger Merge Worker
Browse files
parents 545be92e 4e8bded7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -203,7 +203,11 @@ public class FaceSettings extends DashboardFragment {
        if (savedInstanceState != null) {
            mToken = savedInstanceState.getByteArray(KEY_TOKEN);
        }
    }

    @Override
    public void onStart() {
        super.onStart();
        final boolean hasEnrolled = mFaceManager.hasEnrolledTemplates(mUserId);
        mEnrollButton.setVisible(!hasEnrolled);
        mRemoveButton.setVisible(hasEnrolled);