Dim screen if app has lost connectivity to HA instance

Hi,

sometimes when (re-)opening the app, it has no connectivity to the HA instance (anymore).
A dark status bar at the bottom then informs us about the reconnect process.
It happened to me a few times now, that I missed the reconnect message and assumed the UI was showing the actual state of HA (e.g. triggered sensors, state of input_booleans etc.).

Would it be feasible to blank/dim the whole screen when the connection to HA is lost, so it’s not possible to interact with the UI in that state?

Sebastian