💄 expand general section in preferences
This commit is contained in:
parent
7ec1e2f73e
commit
9d24598579
2 changed files with 24 additions and 0 deletions
|
@ -27,4 +27,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)openReddit {
|
||||||
|
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"reddit://"]]) {
|
||||||
|
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"reddit:///u/lilyshibe"] options:@{} completionHandler:nil];
|
||||||
|
}
|
||||||
|
|
||||||
|
else {
|
||||||
|
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://reddit.com/u/lilyshibe"]];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -10,6 +10,12 @@
|
||||||
<key>label</key>
|
<key>label</key>
|
||||||
<string>hanahaki</string>
|
<string>hanahaki</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSStaticTextCell</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>hanahaki - 2019 lillian rose winter</string>
|
||||||
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>cell</key>
|
<key>cell</key>
|
||||||
<string>PSButtonCell</string>
|
<string>PSButtonCell</string>
|
||||||
|
@ -18,6 +24,14 @@
|
||||||
<key>label</key>
|
<key>label</key>
|
||||||
<string>twitter: @lilyshibe</string>
|
<string>twitter: @lilyshibe</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>cell</key>
|
||||||
|
<string>PSButtonCell</string>
|
||||||
|
<key>action</key>
|
||||||
|
<string>openReddit</string>
|
||||||
|
<key>label</key>
|
||||||
|
<string>reddit: u/lilyshibe</string>
|
||||||
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>cell</key>
|
<key>cell</key>
|
||||||
<string>PSGroupCell</string>
|
<string>PSGroupCell</string>
|
||||||
|
|
Loading…
Reference in a new issue