From 0ba62618902e05e1d679672a4c51d8356cfd6da6 Mon Sep 17 00:00:00 2001 From: "christian.rowlands" Date: Sat, 10 Jul 2021 07:31:06 -0400 Subject: [PATCH] Updated the material library --- MqttLibrary/build.gradle | 2 +- .../java/com/craxiom/mqttlibrary/ui/AConnectionFragment.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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: