"adb shell cmd overlay enable --user 0 android.res.night"
Yes, after reboot, I tried installing the apk again and the adb command again too. The new option appears in the "screen" menu, but when I press the turn on toggle, the screen color stays the same.
My x compact is rooted , so I just flashed the package and it worked right away.
Is your device rooted?
Than you anyway for that finding.