diff --git a/app/src/main/java/com/hiddenservices/onionservices/appManager/bridgeManager/bridgeController.java b/app/src/main/java/com/hiddenservices/onionservices/appManager/bridgeManager/bridgeController.java index 47be86d3..89449398 100644 --- a/app/src/main/java/com/hiddenservices/onionservices/appManager/bridgeManager/bridgeController.java +++ b/app/src/main/java/com/hiddenservices/onionservices/appManager/bridgeManager/bridgeController.java @@ -119,9 +119,11 @@ public class bridgeController extends AppCompatActivity implements View.OnFocusC @Override public void afterTextChanged(Editable editable) { - if (!status.sBridgeCustomBridge.equals("meek") && !status.sBridgeCustomBridge.equals("obfs4") && status.sBridgeCustomBridge.length() <= 5) { - mBridgeModel.onTrigger(bridgeEnums.eBridgeModelCommands.M_OBFS_CHECK, null); - } + try { + if (!status.sBridgeCustomBridge.equals("meek") && !status.sBridgeCustomBridge.equals("obfs4") && status.sBridgeCustomBridge.length() <= 5) { + mBridgeModel.onTrigger(bridgeEnums.eBridgeModelCommands.M_OBFS_CHECK, null); + } + }catch (Exception ex){} } /* VIEW LISTENERS */ diff --git a/app/src/main/java/com/hiddenservices/onionservices/appManager/historyManager/historyAdapter.java b/app/src/main/java/com/hiddenservices/onionservices/appManager/historyManager/historyAdapter.java index 046c9e87..5bc53a6f 100644 --- a/app/src/main/java/com/hiddenservices/onionservices/appManager/historyManager/historyAdapter.java +++ b/app/src/main/java/com/hiddenservices/onionservices/appManager/historyManager/historyAdapter.java @@ -34,7 +34,6 @@ import java.util.List; import static android.content.Context.LAYOUT_INFLATER_SERVICE; import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessageManager.M_COPY; -import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessageManager.M_RESET; @SuppressLint("NotifyDataSetChanged") public class historyAdapter extends RecyclerView.Adapter { @@ -523,12 +522,13 @@ public class historyAdapter extends RecyclerView.Adapter 0) { @@ -545,6 +545,7 @@ public class historyAdapter extends RecyclerView.Adapter