Lumia 830 proximity sensor fail after screen change

So just changed a Lumia 830 broken screen. Used one with attached frame rather than screen only and swapped the white frame with a black one.

Not sure if any of that matters.

So now seems like the proximity sensor isn't working.

Is it a simple swap? Sorry I probably answered my own question but maybe someone has some experience

In Lumia 830s

Thanks

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0