Merge pull request 'BUGFIX: Unblock Profile' (#128) from bugfix into trunk
continuous-integration/drone/push Build is passing Details

Reviewed-on: #128
This commit is contained in:
Dan Ballard 2021-07-15 14:59:09 -07:00
commit 8668211e1d
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"