BUGFIX: Unblock Profile
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
Sarah Jamie Lewis 2021-07-15 14:53:15 -07:00
parent f9584d1301
commit 16bdcce25c
2 changed files with 6 additions and 2 deletions

View File

@ -114,7 +114,11 @@ class _PeerSettingsViewState extends State<PeerSettingsView> {
value: Provider.of<ContactInfoState>(context).isBlocked,
onChanged: (bool blocked) {
// Save local blocked status
Provider.of<ContactInfoState>(context, listen: false).authorization = ContactAuthorization.blocked;
if (blocked) {
Provider.of<ContactInfoState>(context, listen: false).authorization = ContactAuthorization.blocked;
} else {
Provider.of<ContactInfoState>(context, listen: false).authorization = ContactAuthorization.unknown;
}
// Save New peer authorization
var profileOnion = Provider.of<ContactInfoState>(context, listen: false).profileOnion;

View File

@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.1.0+17
version: 1.1.1+18
environment:
sdk: ">=2.12.0 <3.0.0"