I just restarted my device and now it's not able to detect network any help would be really appreciated !
I updated Android 10 few days back.