Hide Available devices section if no devices are available
ClosedPublic

Authored by nicolasfella on Apr 14 2018, 8:39 PM.

Details

Diff Detail

Repository
R225 KDE Connect - Android application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Apr 14 2018, 8:39 PM
Restricted Application added a project: KDE Connect. · View Herald TranscriptApr 14 2018, 8:39 PM
nicolasfella requested review of this revision.Apr 14 2018, 8:39 PM
nicolasfella edited the summary of this revision. (Show Details)Apr 14 2018, 8:42 PM

An empty "available devices" section does make it clear that none of the devices are available at the moment (which might be unclear with only "remembered devices"). I'd suggest only hiding it there's at least one connected device.

  • Only hide section when there is at least one device connected
mtijink accepted this revision.Apr 17 2018, 6:42 PM

Looks good to me!

This revision is now accepted and ready to land.Apr 17 2018, 6:42 PM
This revision was automatically updated to reflect the committed changes.