Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarinofaggiana <marino@marinofaggiana.com>2020-05-12 17:02:12 +0300
committermarinofaggiana <marino@marinofaggiana.com>2020-05-12 17:02:12 +0300
commitdfd9e2900c7eaae53dbb34daf17de4957f6d6c86 (patch)
tree2cdf6bc93352e6e021470ea18288167d51554a14 /Libraries external
parent754d12f2ed242da5e0cd8af2bb8540aaff195124 (diff)
dev
Diffstat (limited to 'Libraries external')
-rw-r--r--Libraries external/TOPasscodeViewController/TOPasscodeSettingsViewController.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Libraries external/TOPasscodeViewController/TOPasscodeSettingsViewController.m b/Libraries external/TOPasscodeViewController/TOPasscodeSettingsViewController.m
index e89e1958e..46b66bfd0 100644
--- a/Libraries external/TOPasscodeViewController/TOPasscodeSettingsViewController.m
+++ b/Libraries external/TOPasscodeViewController/TOPasscodeSettingsViewController.m
@@ -149,6 +149,7 @@ const CGFloat kTOPasscodeKeypadMaxHeight = 330.0f;
[self.optionsButton setTitle:NSLocalizedString(@"Passcode Options", @"") forState:UIControlStateNormal];
self.optionsButton.titleLabel.font = [UIFont systemFontOfSize:15.0f];
[self.optionsButton sizeToFit];
+ self.optionsButton.hidden = true;
[self.optionsButton addTarget:self action:@selector(optionsCodeButtonTapped:) forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:self.optionsButton];
@@ -195,7 +196,7 @@ const CGFloat kTOPasscodeKeypadMaxHeight = 330.0f;
BOOL variableSizePasscode = (type >= TOPasscodeTypeCustomNumeric);
// Update the visibility of the options button
- self.optionsButton.hidden = !(state == TOPasscodeSettingsViewStateEnterNewPasscode);
+ //self.optionsButton.hidden = !(state == TOPasscodeSettingsViewStateEnterNewPasscode);
// Clear the input view
self.inputField.passcode = nil;
@@ -326,7 +327,7 @@ const CGFloat kTOPasscodeKeypadMaxHeight = 330.0f;
self.containerView.frame = CGRectOffset(self.containerView.frame, self.view.frame.size.width * multiplier, 0.0f);
// Update the options button alpha depending on transition state
- self.optionsButton.hidden = NO;
+ //self.optionsButton.hidden = NO;
self.optionsButton.alpha = (state == TOPasscodeSettingsViewStateEnterNewPasscode) ? 0.0f : 1.0f;
// Perform an animation where the snapshot slides off, and the new container slides in