WIP
This commit is contained in:
parent
343218d75c
commit
aeb3cecf55
|
@ -1366,7 +1366,7 @@
|
|||
D17BB5C25D615AB49813100C /* Pods_Signal.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Signal.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
D2179CFB16BB0B3A0006F3AB /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
|
||||
D2179CFD16BB0B480006F3AB /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
|
||||
D221A089169C9E5E00537ABF /* Signal.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Signal.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
D221A089169C9E5E00537ABF /* Session.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Session.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
D221A08D169C9E5E00537ABF /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
||||
D221A08F169C9E5E00537ABF /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||
D221A091169C9E5E00537ABF /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
||||
|
@ -2650,7 +2650,7 @@
|
|||
D221A08A169C9E5E00537ABF /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
D221A089169C9E5E00537ABF /* Signal.app */,
|
||||
D221A089169C9E5E00537ABF /* Session.app */,
|
||||
D221A0AA169C9E5F00537ABF /* SignalTests.xctest */,
|
||||
453518681FC635DD00210559 /* SignalShareExtension.appex */,
|
||||
453518921FC63DBF00210559 /* SignalMessaging.framework */,
|
||||
|
@ -2886,7 +2886,7 @@
|
|||
);
|
||||
name = Signal;
|
||||
productName = RedPhone;
|
||||
productReference = D221A089169C9E5E00537ABF /* Signal.app */;
|
||||
productReference = D221A089169C9E5E00537ABF /* Session.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
D221A0A9169C9E5F00537ABF /* SignalTests */ = {
|
||||
|
@ -4383,7 +4383,7 @@
|
|||
LLVM_LTO = NO;
|
||||
OTHER_LDFLAGS = "$(inherited)";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.niels-andriesse.loki-network.Loki-Messenger";
|
||||
PRODUCT_NAME = Signal;
|
||||
PRODUCT_NAME = Session;
|
||||
PROVISIONING_PROFILE = "";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
RUN_CLANG_STATIC_ANALYZER = YES;
|
||||
|
@ -4448,7 +4448,7 @@
|
|||
LLVM_LTO = NO;
|
||||
OTHER_LDFLAGS = "$(inherited)";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "com.niels-andriesse.loki-network.Loki-Messenger";
|
||||
PRODUCT_NAME = Signal;
|
||||
PRODUCT_NAME = Session;
|
||||
PROVISIONING_PROFILE = "";
|
||||
RUN_CLANG_STATIC_ANALYZER = YES;
|
||||
SDKROOT = iphoneos;
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#import "OWSOrphanDataCleaner.h"
|
||||
#import "OWSScreenLockUI.h"
|
||||
#import "Pastelog.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalApp.h"
|
||||
#import "SignalsNavigationController.h"
|
||||
#import "ViewControllerUtils.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "AboutTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIView+OWS.h"
|
||||
#import <SignalMessaging/Environment.h>
|
||||
#import <SignalMessaging/OWSPreferences.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#import "DomainFrontingCountryViewController.h"
|
||||
#import "OWSCountryMetadata.h"
|
||||
#import "Pastelog.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "TSAccountManager.h"
|
||||
#import <PromiseKit/AnyPromise.h>
|
||||
#import <Reachability/Reachability.h>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#import "PrivacySettingsTableViewController.h"
|
||||
#import "ProfileViewController.h"
|
||||
#import "RegistrationUtils.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/Environment.h>
|
||||
#import <SignalMessaging/OWSContactsManager.h>
|
||||
#import <SignalMessaging/UIUtil.h>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#import "ContactsViewHelper.h"
|
||||
#import "OWSTableViewController.h"
|
||||
#import "PhoneNumber.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIFont+OWS.h"
|
||||
#import "UIView+OWS.h"
|
||||
#import <SignalMessaging/Environment.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "NotificationSettingsOptionsViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalApp.h"
|
||||
#import <SignalMessaging/Environment.h>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "OWSBackupSettingsViewController.h"
|
||||
#import "OWSBackup.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "ThreadUtil.h"
|
||||
#import <PromiseKit/AnyPromise.h>
|
||||
#import <SignalMessaging/AttachmentSharing.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "OWSLinkDeviceViewController.h"
|
||||
#import "OWSDeviceProvisioningURLParser.h"
|
||||
#import "OWSLinkedDevicesTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalCoreKit/Cryptography.h>
|
||||
#import <SignalMessaging/OWSProfileManager.h>
|
||||
#import <SignalServiceKit/OWSDevice.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "OWSLinkedDevicesTableViewController.h"
|
||||
#import "OWSDeviceTableViewCell.h"
|
||||
#import "OWSLinkDeviceViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIViewController+Permissions.h"
|
||||
#import <SignalServiceKit/NSTimer+OWS.h>
|
||||
#import <SignalServiceKit/OWSDevice.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "PrivacySettingsTableViewController.h"
|
||||
#import "BlockListViewController.h"
|
||||
#import "OWS2FASettingsViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/Environment.h>
|
||||
#import <SignalMessaging/OWSPreferences.h>
|
||||
#import <SignalMessaging/ThreadUtil.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "AvatarViewHelper.h"
|
||||
#import "OWSNavigationController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <MobileCoreServices/UTCoreTypes.h>
|
||||
#import <SignalMessaging/OWSContactsManager.h>
|
||||
#import <SignalMessaging/UIUtil.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "OWSAudioMessageView.h"
|
||||
#import "ConversationViewItem.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIColor+OWS.h"
|
||||
#import "ViewControllerUtils.h"
|
||||
#import <SignalMessaging/OWSFormat.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "OWSContactOffersCell.h"
|
||||
#import "ConversationViewItem.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/OWSContactOffersInteraction.h>
|
||||
#import <SignalMessaging/UIColor+OWS.h>
|
||||
#import <SignalMessaging/UIFont+OWS.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "OWSContactShareButtonsView.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIColor+OWS.h"
|
||||
#import "UIFont+OWS.h"
|
||||
#import "UIView+OWS.h"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "OWSContactShareView.h"
|
||||
#import "OWSContactAvatarBuilder.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIColor+OWS.h"
|
||||
#import "UIFont+OWS.h"
|
||||
#import "UIView+OWS.h"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "OWSGenericAttachmentView.h"
|
||||
#import "OWSBezierPathView.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIFont+OWS.h"
|
||||
#import "UIView+OWS.h"
|
||||
#import "ViewControllerUtils.h"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#import "OWSMessageFooterView.h"
|
||||
#import "OWSMessageTextView.h"
|
||||
#import "OWSQuotedMessageView.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIColor+OWS.h"
|
||||
#import <SignalMessaging/UIView+OWS.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#import "OWSContactAvatarBuilder.h"
|
||||
#import "OWSMessageBubbleView.h"
|
||||
#import "OWSMessageHeaderView.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#import "DateUtil.h"
|
||||
#import "OWSLabel.h"
|
||||
#import "OWSMessageTimerView.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <QuartzCore/QuartzCore.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "OWSMessageHeaderView.h"
|
||||
#import "ConversationViewItem.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/OWSUnreadIndicator.h>
|
||||
#import <SignalMessaging/UIColor+OWS.h>
|
||||
#import <SignalMessaging/UIFont+OWS.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#import "ConversationViewItem.h"
|
||||
#import "Environment.h"
|
||||
#import "OWSBubbleView.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/OWSContactsManager.h>
|
||||
#import <SignalMessaging/SignalMessaging-Swift.h>
|
||||
#import <SignalMessaging/UIColor+OWS.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "OWSSystemMessageCell.h"
|
||||
#import "ConversationViewItem.h"
|
||||
#import "OWSMessageHeaderView.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIColor+OWS.h"
|
||||
#import "UIFont+OWS.h"
|
||||
#import "UIView+OWS.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "ConversationInputTextView.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalServiceKit/NSString+SSK.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#import "Environment.h"
|
||||
#import "OWSContactsManager.h"
|
||||
#import "OWSMath.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIColor+OWS.h"
|
||||
#import "UIFont+OWS.h"
|
||||
#import "ViewControllerUtils.h"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#import "OWSMath.h"
|
||||
#import "OWSMessageCell.h"
|
||||
#import "OWSSystemMessageCell.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalKeyingStorage.h"
|
||||
#import "TSAttachmentPointer.h"
|
||||
#import "TSCall.h"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#import "OWSMessageCell.h"
|
||||
#import "OWSMessageHeaderView.h"
|
||||
#import "OWSSystemMessageCell.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/OWSUnreadIndicator.h>
|
||||
#import <SignalServiceKit/NSData+Image.h>
|
||||
#import <SignalServiceKit/NSString+SSK.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "ConversationViewLayout.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIView+OWS.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#import "DateUtil.h"
|
||||
#import "OWSMessageBubbleView.h"
|
||||
#import "OWSQuotedReplyModel.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalCoreKit/NSDate+OWS.h>
|
||||
#import <SignalMessaging/OWSContactOffersInteraction.h>
|
||||
#import <SignalMessaging/OWSContactsManager.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "DebugContactsUtils.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <Contacts/Contacts.h>
|
||||
#import <SignalCoreKit/Randomness.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "DebugUIBackup.h"
|
||||
#import "OWSBackup.h"
|
||||
#import "OWSTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <PromiseKit/AnyPromise.h>
|
||||
#import <SignalCoreKit/Randomness.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "DebugUIContacts.h"
|
||||
#import "DebugContactsUtils.h"
|
||||
#import "OWSTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalApp.h"
|
||||
#import <Contacts/Contacts.h>
|
||||
#import <SignalCoreKit/Randomness.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "DebugUIDiskUsage.h"
|
||||
#import "OWSOrphanDataCleaner.h"
|
||||
#import "OWSTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalCoreKit/NSDate+OWS.h>
|
||||
#import <SignalServiceKit/OWSPrimaryStorage.h>
|
||||
#import <SignalServiceKit/TSDatabaseView.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#import "DebugUIMessagesAction.h"
|
||||
#import "DebugUIMessagesAssetLoader.h"
|
||||
#import "OWSTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalCoreKit/NSDate+OWS.h>
|
||||
#import <SignalCoreKit/Randomness.h>
|
||||
#import <SignalMessaging/Environment.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#import "OWSBackup.h"
|
||||
#import "OWSCountryMetadata.h"
|
||||
#import "OWSTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "ThreadUtil.h"
|
||||
#import <AxolotlKit/PreKeyBundle.h>
|
||||
#import <SignalMessaging/AttachmentSharing.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "DebugUISessionState.h"
|
||||
#import "OWSTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalServiceKit/OWSIdentityManager.h>
|
||||
#import <SignalServiceKit/OWSPrimaryStorage+SessionStore.h>
|
||||
#import <SignalServiceKit/TSContactThread.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "DebugUISyncMessages.h"
|
||||
#import "DebugUIContacts.h"
|
||||
#import "OWSTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "ThreadUtil.h"
|
||||
#import <AxolotlKit/PreKeyBundle.h>
|
||||
#import <PromiseKit/AnyPromise.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#import "DebugUISessionState.h"
|
||||
#import "DebugUIStress.h"
|
||||
#import "DebugUISyncMessages.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalServiceKit/TSContactThread.h>
|
||||
#import <SignalServiceKit/TSThread.h>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "HomeViewCell.h"
|
||||
#import "OWSAvatarBuilder.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/OWSFormat.h>
|
||||
#import <SignalMessaging/OWSUserProfile.h>
|
||||
#import <SignalMessaging/SignalMessaging-Swift.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#import "OWSPrimaryStorage.h"
|
||||
#import "ProfileViewController.h"
|
||||
#import "RegistrationUtils.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalApp.h"
|
||||
#import "TSAccountManager.h"
|
||||
#import "TSDatabaseView.h"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#import "ConversationViewController.h"
|
||||
#import "ConversationViewItem.h"
|
||||
#import "OWSMessageCell.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "TSAttachmentStream.h"
|
||||
#import "TSInteraction.h"
|
||||
#import "UIColor+OWS.h"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#import "NewGroupViewController.h"
|
||||
#import "NewNonContactConversationViewController.h"
|
||||
#import "OWSTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalApp.h"
|
||||
#import "UIColor+OWS.h"
|
||||
#import "UIView+OWS.h"
|
||||
|
@ -106,18 +106,21 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
target:self
|
||||
action:@selector(dismissPressed)
|
||||
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"stop")];
|
||||
// TODO: We should use separate RTL and LTR flavors of this asset.
|
||||
UIImage *newGroupImage = [UIImage imageNamed:@"btnGroup--white"];
|
||||
OWSAssertDebug(newGroupImage);
|
||||
UIBarButtonItem *newGroupButton =
|
||||
[[UIBarButtonItem alloc] initWithImage:newGroupImage
|
||||
style:UIBarButtonItemStylePlain
|
||||
target:self
|
||||
action:@selector(showNewGroupView:)
|
||||
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"new_group")];
|
||||
newGroupButton.accessibilityLabel
|
||||
= NSLocalizedString(@"CREATE_NEW_GROUP", @"Accessibility label for the create group new group button");
|
||||
self.navigationItem.rightBarButtonItem = newGroupButton;
|
||||
// Loki: Original code
|
||||
// ========
|
||||
// // TODO: We should use separate RTL and LTR flavors of this asset.
|
||||
// UIImage *newGroupImage = [UIImage imageNamed:@"btnGroup--white"];
|
||||
// OWSAssertDebug(newGroupImage);
|
||||
// UIBarButtonItem *newGroupButton =
|
||||
// [[UIBarButtonItem alloc] initWithImage:newGroupImage
|
||||
// style:UIBarButtonItemStylePlain
|
||||
// target:self
|
||||
// action:@selector(showNewGroupView:)
|
||||
// accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"new_group")];
|
||||
// newGroupButton.accessibilityLabel
|
||||
// = NSLocalizedString(@"CREATE_NEW_GROUP", @"Accessibility label for the create group new group button");
|
||||
// self.navigationItem.rightBarButtonItem = newGroupButton;
|
||||
// ========
|
||||
|
||||
// Search
|
||||
UISearchBar *searchBar = [OWSSearchBar new];
|
||||
|
@ -352,37 +355,40 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
[contents addSection:reminderSection];
|
||||
}
|
||||
|
||||
OWSTableSection *staticSection = [OWSTableSection new];
|
||||
|
||||
// Find Non-Contacts by Phone Number
|
||||
[staticSection
|
||||
addItem:[OWSTableItem disclosureItemWithText:NSLocalizedString(@"NEW_CONVERSATION_FIND_BY_PHONE_NUMBER",
|
||||
@"A label the cell that lets you add a new member to a group.")
|
||||
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(
|
||||
NewContactThreadViewController, @"find_by_phone")
|
||||
customRowHeight:UITableViewAutomaticDimension
|
||||
actionBlock:^{
|
||||
NewNonContactConversationViewController *viewController =
|
||||
[NewNonContactConversationViewController new];
|
||||
viewController.nonContactConversationDelegate = weakSelf;
|
||||
[weakSelf.navigationController pushViewController:viewController
|
||||
animated:YES];
|
||||
}]];
|
||||
|
||||
if (self.contactsManager.isSystemContactsAuthorized) {
|
||||
// Invite Contacts
|
||||
[staticSection
|
||||
addItem:[OWSTableItem
|
||||
disclosureItemWithText:NSLocalizedString(@"INVITE_FRIENDS_CONTACT_TABLE_BUTTON",
|
||||
@"Label for the cell that presents the 'invite contacts' workflow.")
|
||||
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(
|
||||
NewContactThreadViewController, @"invite_contacts")
|
||||
customRowHeight:UITableViewAutomaticDimension
|
||||
actionBlock:^{
|
||||
[weakSelf presentInviteFlow];
|
||||
}]];
|
||||
}
|
||||
[contents addSection:staticSection];
|
||||
// Loki: Original code
|
||||
// ========
|
||||
// OWSTableSection *staticSection = [OWSTableSection new];
|
||||
//
|
||||
// // Find Non-Contacts by Phone Number
|
||||
// [staticSection
|
||||
// addItem:[OWSTableItem disclosureItemWithText:NSLocalizedString(@"NEW_CONVERSATION_FIND_BY_PHONE_NUMBER",
|
||||
// @"A label the cell that lets you add a new member to a group.")
|
||||
// accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(
|
||||
// NewContactThreadViewController, @"find_by_phone")
|
||||
// customRowHeight:UITableViewAutomaticDimension
|
||||
// actionBlock:^{
|
||||
// NewNonContactConversationViewController *viewController =
|
||||
// [NewNonContactConversationViewController new];
|
||||
// viewController.nonContactConversationDelegate = weakSelf;
|
||||
// [weakSelf.navigationController pushViewController:viewController
|
||||
// animated:YES];
|
||||
// }]];
|
||||
//
|
||||
// if (self.contactsManager.isSystemContactsAuthorized) {
|
||||
// // Invite Contacts
|
||||
// [staticSection
|
||||
// addItem:[OWSTableItem
|
||||
// disclosureItemWithText:NSLocalizedString(@"INVITE_FRIENDS_CONTACT_TABLE_BUTTON",
|
||||
// @"Label for the cell that presents the 'invite contacts' workflow.")
|
||||
// accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(
|
||||
// NewContactThreadViewController, @"invite_contacts")
|
||||
// customRowHeight:UITableViewAutomaticDimension
|
||||
// actionBlock:^{
|
||||
// [weakSelf presentInviteFlow];
|
||||
// }]];
|
||||
// }
|
||||
// [contents addSection:staticSection];
|
||||
// ========
|
||||
|
||||
BOOL hasSearchText = self.searchText.length > 0;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#import "AddToGroupViewController.h"
|
||||
#import "AvatarViewHelper.h"
|
||||
#import "OWSNavigationController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalApp.h"
|
||||
#import <SignalCoreKit/NSDate+OWS.h>
|
||||
#import <SignalCoreKit/Randomness.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "OWS2FASettingsViewController.h"
|
||||
#import "OWSTableViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalMessaging.h"
|
||||
#import <SignalMessaging/SignalMessaging-Swift.h>
|
||||
#import <SignalMessaging/SignalMessaging.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#import "AvatarViewHelper.h"
|
||||
#import "HomeViewController.h"
|
||||
#import "OWSNavigationController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalsNavigationController.h"
|
||||
#import "UIColor+OWS.h"
|
||||
#import "UIFont+OWS.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "SignalsNavigationController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/UIUtil.h>
|
||||
#import <SignalServiceKit/NSTimer+OWS.h>
|
||||
#import <SignalServiceKit/OWSSignalService.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "AddToGroupViewController.h"
|
||||
#import "BlockListUIUtils.h"
|
||||
#import "ContactsViewHelper.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/OWSContactsManager.h>
|
||||
#import <SignalServiceKit/SignalAccount.h>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "FingerprintViewController.h"
|
||||
#import "FingerprintViewScanController.h"
|
||||
#import "OWSBezierPathView.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIColor+OWS.h"
|
||||
#import "UIFont+OWS.h"
|
||||
#import "UIView+OWS.h"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "FingerprintViewScanController.h"
|
||||
#import "OWSQRCodeScanningViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIColor+OWS.h"
|
||||
#import "UIFont+OWS.h"
|
||||
#import "UIView+OWS.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#import "OWSSoundSettingsViewController.h"
|
||||
#import "PhoneNumber.h"
|
||||
#import "ShowGroupMembersViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "UIFont+OWS.h"
|
||||
#import "UIView+OWS.h"
|
||||
#import "UpdateGroupViewController.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "ShowGroupMembersViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalApp.h"
|
||||
#import "ViewControllerUtils.h"
|
||||
#import <SignalMessaging/BlockListUIUtils.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#import "AddToGroupViewController.h"
|
||||
#import "AvatarViewHelper.h"
|
||||
#import "OWSNavigationController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "ViewControllerUtils.h"
|
||||
#import <SignalCoreKit/NSDate+OWS.h>
|
||||
#import <SignalMessaging/BlockListUIUtils.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#import "AppDelegate.h"
|
||||
#import "ConversationViewController.h"
|
||||
#import "HomeViewController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "SignalsNavigationController.h"
|
||||
#import <SignalCoreKit/Threading.h>
|
||||
#import <SignalMessaging/DebugLogger.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#import "OWSBackupExportJob.h"
|
||||
#import "OWSBackupIO.h"
|
||||
#import "OWSBackupImportJob.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <PromiseKit/AnyPromise.h>
|
||||
#import <SignalCoreKit/Randomness.h>
|
||||
#import <SignalServiceKit/OWSIdentityManager.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import "OWSBackupExportJob.h"
|
||||
#import "OWSBackupIO.h"
|
||||
#import "OWSDatabaseMigration.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <PromiseKit/AnyPromise.h>
|
||||
#import <SignalCoreKit/NSData+OWS.h>
|
||||
#import <SignalCoreKit/NSDate+OWS.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#import "OWSBackupIO.h"
|
||||
#import "OWSDatabaseMigration.h"
|
||||
#import "OWSDatabaseMigrationRunner.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <PromiseKit/AnyPromise.h>
|
||||
#import <SignalCoreKit/NSData+OWS.h>
|
||||
#import <SignalServiceKit/OWSBackgroundTask.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "OWSBackupJob.h"
|
||||
#import "OWSBackupIO.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <PromiseKit/AnyPromise.h>
|
||||
#import <SignalCoreKit/Randomness.h>
|
||||
#import <YapDatabase/YapDatabaseCryptoUtils.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "MainAppContext.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalCoreKit/Threading.h>
|
||||
#import <SignalMessaging/Environment.h>
|
||||
#import <SignalMessaging/OWSProfileManager.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "OWSScreenLockUI.h"
|
||||
#import "OWSWindowManager.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/ScreenLockViewController.h>
|
||||
#import <SignalMessaging/SignalMessaging-Swift.h>
|
||||
#import <SignalMessaging/UIView+OWS.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "Pastelog.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import "ThreadUtil.h"
|
||||
#import "zlib.h"
|
||||
#import <AFNetworking/AFNetworking.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#import "RegistrationUtils.h"
|
||||
#import "OWSNavigationController.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/Environment.h>
|
||||
#import <SignalMessaging/OWSPreferences.h>
|
||||
#import <SignalMessaging/SignalMessaging-Swift.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "UIViewController+Permissions.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <AVFoundation/AVFoundation.h>
|
||||
#import <Photos/Photos.h>
|
||||
#import <SignalCoreKit/Threading.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
|
||||
#import "PinEntryView.h"
|
||||
#import "Signal-Swift.h"
|
||||
#import "Session-Swift.h"
|
||||
#import <SignalMessaging/UIColor+OWS.h>
|
||||
#import <SignalMessaging/UIFont+OWS.h>
|
||||
#import <SignalMessaging/UIView+OWS.h>
|
||||
|
|
|
@ -2550,15 +2550,16 @@
|
|||
"Enter a name to be shown to your contacts" = "Enter a name to be shown to your contacts";
|
||||
"Display Name (Optional)" = "Display Name (Optional)";
|
||||
"Type an optional password for added security" = "Type an optional password for added security";
|
||||
"Next" = "Next";
|
||||
"Password (Optional)" = "Password (Optional)";
|
||||
"Next" = "Next";
|
||||
"Please save the seed below in a safe location. It can be used to restore your account if you lose access, or to migrate to a new device." = "Please save the seed below in a safe location. It can be used to restore your account if you lose access, or to migrate to a new device.";
|
||||
"Copy" = "Copy";
|
||||
"Copied ✓" = "Copied ✓";
|
||||
"Register" = "Register";
|
||||
"Restore" = "Restore";
|
||||
"Enter Your Mnemonic" = "Enter Your Mnemonic";
|
||||
"Restore Using Mnemonic" = "Restore Using Mnemonic";
|
||||
"Register" = "Register";
|
||||
"Enter Your Mnemonic" = "Enter Your Mnemonic";
|
||||
"Register a New Account" = "Register a New Account";
|
||||
"Restore" = "Restore";
|
||||
"Something went wrong. Please check your mnemonic and try again." = "Something went wrong. Please check your mnemonic and try again.";
|
||||
"Looks like you didn't enter enough words. Please check your mnemonic and try again." = "Looks like you didn't enter enough words. Please check your mnemonic and try again.";
|
||||
"You seem to be missing the last word of your mnemonic. Please check what you entered and try again." = "You seem to be missing the last word of your mnemonic. Please check what you entered and try again.";
|
||||
|
|
Loading…
Reference in New Issue