1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- //
- // SettingsController.m
- // g0blin
- //
- // Created by Sticktron on 2017-12-30.
- // Copyright © 2017 Sticktron. All rights reserved.
- //
- #import "SettingsController.h"
- @interface SettingsController ()
- @property (weak, nonatomic) IBOutlet UIButton *redditButton;
- @property (weak, nonatomic) IBOutlet UIButton *discordButton;
- @end
- @implementation SettingsController
- - (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
-
- self.redditButton.layer.cornerRadius = 6;
- self.discordButton.layer.cornerRadius = 6;
-
- [self.reinstallBootstrapSwitch setOn:NO animated:NO];
- }
- - (IBAction)goReddit:(UIButton *)sender {
- NSURL *url = [NSURL URLWithString:@"http://reddit.com/r/jailbreak"];
- // [[UIApplication sharedApplication] openURL:url];
- [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
- }
- - (IBAction)goDiscord:(UIButton *)sender {
- NSURL *url = [NSURL URLWithString:@"http://discord.gg/RZqpUfR"];
- // [[UIApplication sharedApplication] openURL:url];
- [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
- }
- /*
- #pragma mark - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- }
- */
- @end
|