File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
mobile/src/main/java/com/atomjack/vcfp/activities Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -990,13 +990,16 @@ protected void onNewIntent(Intent intent) {
990
990
if (firstTimeSetupServerScanFinished )
991
991
onFirstTimeScanFinished ();
992
992
}
993
- if (VoiceControlForPlexApplication .getAllClients ().size () == 0 ) {
994
- deviceSelectNoDevicesFound .setVisibility (View .VISIBLE );
995
- deviceListResume .setVisibility (View .GONE );
996
- } else {
997
- deviceSelectNoDevicesFound .setVisibility (View .GONE );
998
- deviceListResume .setVisibility (View .VISIBLE );
993
+ if (deviceSelectDialog != null && deviceSelectDialog .isShowing ()) {
994
+ if (VoiceControlForPlexApplication .getAllClients ().size () == 0 ) {
995
+ deviceSelectNoDevicesFound .setVisibility (View .VISIBLE );
996
+ deviceListResume .setVisibility (View .GONE );
997
+ } else {
998
+ deviceSelectNoDevicesFound .setVisibility (View .GONE );
999
+ deviceListResume .setVisibility (View .VISIBLE );
1000
+ }
999
1001
}
1002
+
1000
1003
if (onClientRefreshFinished != null ) {
1001
1004
onClientRefreshFinished .run ();
1002
1005
}
You can’t perform that action at this time.
0 commit comments