Dimming screen when running iOS app on device

Currently using Xcode 11.1 and running iOS 13 on my iPhone 8. Just recently, sometimes, when I download and run my app on my device, it dims my screen to about half even though the bar still says that it is full brightness. Moving it dosent fix it but restarting my device does. It sometimes will randomly fix on its own however. Has anyone else ran into this issue?