diff --git a/MqttLibrary/build.gradle b/MqttLibrary/build.gradle index 7532098..78ab3ad 100644 --- a/MqttLibrary/build.gradle +++ b/MqttLibrary/build.gradle @@ -61,7 +61,7 @@ ext { dependencies { implementation 'androidx.appcompat:appcompat:1.3.0' - implementation 'com.google.android.material:material:1.3.0' + implementation 'com.google.android.material:material:1.4.0' compileOnly 'com.google.android.things:androidthings:1.0' implementation 'com.hivemq:hivemq-mqtt-client:1.2.2' diff --git a/MqttLibrary/src/main/java/com/craxiom/mqttlibrary/ui/AConnectionFragment.java b/MqttLibrary/src/main/java/com/craxiom/mqttlibrary/ui/AConnectionFragment.java index b9492f7..d519f38 100644 --- a/MqttLibrary/src/main/java/com/craxiom/mqttlibrary/ui/AConnectionFragment.java +++ b/MqttLibrary/src/main/java/com/craxiom/mqttlibrary/ui/AConnectionFragment.java @@ -409,7 +409,6 @@ protected void updateUiState(ConnectionState connectionState) try { - switch (connectionState) { case DISCONNECTED: