|
@@ -15,11 +15,8 @@ import android.widget.CompoundButton;
|
|
|
import android.widget.Switch;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
-import javax.xml.soap.Text;
|
|
|
-
|
|
|
import de.tudarmstadt.informatik.hostage.R;
|
|
|
import de.tudarmstadt.informatik.hostage.commons.HelperUtils;
|
|
|
-import de.tudarmstadt.informatik.hostage.ui2.activity.MainActivity;
|
|
|
|
|
|
/**
|
|
|
* @author Alexander Brakowski
|
|
@@ -150,7 +147,6 @@ public class HomeFragment extends Fragment {
|
|
|
|
|
|
if(switchChangeListener == null){
|
|
|
switchChangeListener = new CompoundButton.OnCheckedChangeListener() {
|
|
|
- @Override
|
|
|
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
|
|
if(!HelperUtils.isWifiConnected(getActivity())){
|
|
|
new AlertDialog.Builder(getActivity())
|