1. Follow the link down below.
2. Install the apk and grant root permission when requested.
3.Press the three dots on the top right and then set camera out if your camera is popped out but not going back in and set camera in if it's not popping out.
4.Then, press pop out or pop in button on the homescreen of the app.
5. Works only in aosp rom