fixes github #59 for crash on app list UI
This commit is contained in:
parent
e9ece471b7
commit
1ae0c71ac7
|
@ -122,7 +122,9 @@ public class AppManager extends AppCompatActivity implements OnCheckedChangeList
|
||||||
app.setTorified(!app.isTorified());
|
app.setTorified(!app.isTorified());
|
||||||
}
|
}
|
||||||
|
|
||||||
box.setChecked(app.isTorified());
|
if (box != null)
|
||||||
|
box.setChecked(app.isTorified());
|
||||||
|
|
||||||
}
|
}
|
||||||
saveAppSettings(context);
|
saveAppSettings(context);
|
||||||
loadApps(prefs);
|
loadApps(prefs);
|
||||||
|
|
Loading…
Reference in New Issue