Commit 2d621cbe authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

account jams: hide export account

Change-Id: I5001ff44867ae1802ed0d158aecde0d6779b96a2
parent 7fb002a1
......@@ -56,6 +56,7 @@
@property (unsafe_unretained) IBOutlet NSButton* passwordButton;
@property (unsafe_unretained) IBOutlet NSButton* linkDeviceButton;
@property (unsafe_unretained) IBOutlet NSButton* removeAccountButton;
@property (unsafe_unretained) IBOutlet NSButton* exportAccountButton;
@property (unsafe_unretained) IBOutlet NSImageView* addProfilePhotoImage;
@property (unsafe_unretained) IBOutlet NSTableView* devicesTableView;
@property (unsafe_unretained) IBOutlet NSTableView* blockedContactsTableView;
......@@ -94,6 +95,7 @@ QMetaObject::Connection accountStateChangedSignal;
@synthesize blockedContactsTableView;
@synthesize linkDeviceButton;
@synthesize passwordField;
@synthesize exportAccountButton;
typedef NS_ENUM(NSInteger, TagViews) {
DISPLAYNAME = 100,
......@@ -174,6 +176,7 @@ typedef NS_ENUM(NSInteger, TagViews) {
[passwordButton setHidden:hideLocalAccountConfig];
[linkDeviceButton setHidden:hideLocalAccountConfig];
[passwordField setHidden:hideLocalAccountConfig];
[exportAccountButton setHidden: hideLocalAccountConfig];
NSMutableAttributedString *colorTitle = [[NSMutableAttributedString alloc] initWithAttributedString:[removeAccountButton attributedTitle]];
NSRange titleRange = NSMakeRange(0, [colorTitle length]);
......
......@@ -15,6 +15,7 @@
<outlet property="blockedContactsTableView" destination="aau-IO-oSs" id="Vek-r1-CDK"/>
<outlet property="devicesTableView" destination="Zw2-AJ-V23" id="fdL-VK-1ao"/>
<outlet property="displayNameField" destination="n2O-cF-oZh" id="EaH-qO-DhI"/>
<outlet property="exportAccountButton" destination="vkG-1y-zOL" id="E8L-fu-2AU"/>
<outlet property="linkDeviceButton" destination="xuK-C2-qCq" id="Syf-y5-KnW"/>
<outlet property="passwordButton" destination="jn6-I2-q72" id="ElE-O6-kva"/>
<outlet property="passwordField" destination="jfs-pl-8Bb" id="RYs-Qw-rCE"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment