2017-07-30 17:29:38 +00:00
|
|
|
/*
|
|
|
|
Copyright 2017 Aram Sargsyan
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import "FallbackViewController.h"
|
2019-01-11 09:32:56 +00:00
|
|
|
#import "ThemeService.h"
|
2017-07-30 17:29:38 +00:00
|
|
|
|
2021-10-26 15:42:33 +00:00
|
|
|
#import "GeneratedInterface-Swift.h"
|
2019-01-10 17:05:21 +00:00
|
|
|
|
2017-07-30 17:29:38 +00:00
|
|
|
@interface FallbackViewController ()
|
|
|
|
|
|
|
|
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
|
2020-07-08 21:41:02 +00:00
|
|
|
@property (weak, nonatomic) IBOutlet UIImageView *logoImageView;
|
2017-07-30 17:29:38 +00:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation FallbackViewController
|
|
|
|
|
|
|
|
- (void)viewDidLoad
|
|
|
|
{
|
|
|
|
[super viewDidLoad];
|
|
|
|
|
2021-06-29 12:03:57 +00:00
|
|
|
self.view.backgroundColor = ThemeService.shared.theme.backgroundColor;
|
2019-01-11 10:45:27 +00:00
|
|
|
self.titleLabel.textColor = ThemeService.shared.theme.textSecondaryColor;
|
2021-09-28 05:40:01 +00:00
|
|
|
self.titleLabel.text = [VectorL10n shareExtensionAuthPrompt];
|
2020-07-08 21:41:02 +00:00
|
|
|
self.logoImageView.tintColor = ThemeService.shared.theme.tintColor;
|
2017-07-30 17:29:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|