Ensure disconnect overlay swallows user input.

This commit is contained in:
casey langen 2017-02-17 00:06:01 -08:00
parent f4510df6e3
commit 3f8c34865e

View File

@ -237,6 +237,10 @@ public class MainActivity extends WebSocketActivityBase {
}
});
disconnectedOverlay.setOnClickListener((view) -> {
/* swallow input so user can't click on things while disconnected */
});
this.album.setOnClickListener((view) -> navigateToCurrentAlbum());
this.artist.setOnClickListener((view) -> navigateToCurrentArtist());
}