Remove Dispose
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Sarah Jamie Lewis 2023-03-14 14:48:14 -07:00
parent 9eac097e6b
commit 1516b30161
1 changed files with 0 additions and 7 deletions

View File

@ -10,13 +10,6 @@ class ProfileListState extends ChangeNotifier {
List<ProfileInfoState> _profiles = [];
int get num => _profiles.length;
@override
void dispose() {
EnvironmentConfig.debugLog("disposal of profile infostate called...");
EnvironmentConfig.debugLog(StackTrace.current.toString());
super.dispose();
}
void add(String onion, String name, String picture, String defaultPicture, String contactsJson, String serverJson, bool online, bool autostart, bool encrypted) {
var idx = _profiles.indexWhere((element) => element.onion == onion);
if (idx == -1) {