tell apart regular & pencil TF

This commit is contained in:
True Zhuanjia committed 2026-02-02 12:54:59 +08:00
1 parent 94250624a8
commit 8fa909dea8
1 file changed
+6 -1
@@ -861,7 +861,12 @@ BOOL isCustomResolution(int resolutionSelected) {
[motionControlSection addToParentStack:_parentStack]; [motionControlSection addToParentStack:_parentStack];
if([self isIPad]){ NSString *bundleId = [[NSBundle mainBundle] bundleIdentifier];
bool loadPencilSection = ([bundleId isEqualToString:@"com.voidlink.iOS"]
|| [bundleId isEqualToString:@"com.voidlinkextreme.iOS"]
|| [bundleId isEqualToString:@"com.voidlink.tf.debug10.iOS"]);
if([self isIPad] && loadPencilSection){
MenuSectionView* pencilSection = [[MenuSectionView alloc] init]; MenuSectionView* pencilSection = [[MenuSectionView alloc] init];
pencilSection.delegate = self; pencilSection.delegate = self;
pencilSection.sectionTitle = [LocalizationHelper localizedStringForKey:@"Pencil"]; pencilSection.sectionTitle = [LocalizationHelper localizedStringForKey:@"Pencil"];