In the desktop app, you switch between online and offline using the cloud icon at the top right.
If the device is set to "Force Offline Mode" (typical for trade show devices), change this setting in the Settings, because offline mode can then no longer be ended manually. Alternatively, also enable automatic synchronization when the app starts. Then it's enough to restart the app while there is an internet connection.
Learn more: Why is there no cloud-icon in the right upper corner?