By default, when sharing files, the LG device searches for other nearby devices. When the feature is enabled, the file sharing (Share via) dialog box displays an overview of the devices found. You can also disable the search in the settings.

Android 9 | LG UX 9.0
Step 1:  Open the  Settings
Step 2:  Tap on  Sharing panel
Step 3:  Enable or Disable  Nearby devices
  1. Open the Settings
  2. Tap on Sharing panel
  3. Enable or Disable Nearby devices

LG Instructions