fix accept block #288
No reviewers
Labels
No Label
android
arch
backlog
blocked-on-external
bug
bugbash
component/bindings
component/bine
component/connectivity
component/cwtch
component/tapir
component/ui
cwtch-1.14
cwtch-1.15
cwtch-beta-1.1
cwtch-beta-1.10
cwtch-beta-1.11
cwtch-beta-1.12
cwtch-beta-1.13
cwtch-beta-1.2
cwtch-beta-1.3
cwtch-beta-1.4
cwtch-beta-1.5
cwtch-beta-1.5.x
cwtch-beta-1.6
cwtch-beta-1.7
cwtch-beta-1.8
cwtch-beta-1.9
design
duplicate
enhancement
flutter
funding-needed
help wanted
hybrid-groups
in-nightly
in-progress
invalid
ios
linux
mac
need-replication-or-investigation
ops
packaging
post-stable
question
questionable
requires-more-effort-than-we-can-spare
rust
scheduled
stable-blocker
tails
testing-needed
tests
tor
waiting-on-fix-confirmation
waiting-on-new-flutter-feature
whonix
windows
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/cwtch-ui#288
Loading…
Reference in New Issue
No description provided.
Delete Branch "fixAcceptBlock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
needs: cwtch.im/libcwtch-go#58
6619b49856
tob88c7f88a9
WIP: fix accept blockto fix accept blockDrone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/437
lgtm
@ -110,8 +110,10 @@ class ProfileListState extends ChangeNotifier {
void add(String onion, String name, String picture, String contactsJson, String serverJson, bool online, bool encrypted) {
var idx = _profiles.indexWhere((element) => element.onion == onion);
if (idx == -1) {
EnvironmentConfig.debugLog("ProfileListState.Add idx -1 so adding...");
remove
@ -113,2 +113,4 @@
EnvironmentConfig.debugLog("ProfileListState.Add idx -1 so adding...");
_profiles.add(ProfileInfoState(onion: onion, nickname: name, imagePath: picture, contactsJson: contactsJson, serversJson: serverJson, online: online, encrypted: encrypted));
} else {
EnvironmentConfig.debugLog("ProfileListState.Add idx found, updateFrom()...");
remove
b88c7f88a9
to5e485b6327