Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 2902398

Browse files
committed
fix: update CMakeLists.txt to include ElyByAuthenticator and remove commented lines
1 parent 777e32e commit 2902398

3 files changed

Lines changed: 1 addition & 42 deletions

File tree

Natives/AccountListViewController.m

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -326,42 +326,3 @@ - (ASPresentationAnchor)presentationAnchorForWebAuthenticationSession:(ASWebAuth
326326
}
327327

328328
@end
329-
330-
@implementation AccountSelectionViewController
331-
332-
- (void)viewDidLoad {
333-
[super viewDidLoad];
334-
// Do any additional setup after loading the view.
335-
336-
UIButton *localAccountButton = [UIButton buttonWithType:UIButtonTypeSystem];
337-
[localAccountButton setTitle:@"Local Account" forState:UIControlStateNormal];
338-
[localAccountButton addTarget:self action:@selector(addLocalAccount) forControlEvents:UIControlEventTouchUpInside];
339-
localAccountButton.frame = CGRectMake(50, 100, 200, 50);
340-
[self.view addSubview:localAccountButton];
341-
342-
UIButton *microsoftAccountButton = [UIButton buttonWithType:UIButtonTypeSystem];
343-
[microsoftAccountButton setTitle:@"Microsoft Account" forState:UIControlStateNormal];
344-
[microsoftAccountButton addTarget:self action:@selector(addMicrosoftAccount) forControlEvents:UIControlEventTouchUpInside];
345-
microsoftAccountButton.frame = CGRectMake(50, 200, 200, 50);
346-
[self.view addSubview:microsoftAccountButton];
347-
348-
UIButton *elyByAccountButton = [UIButton buttonWithType:UIButtonTypeSystem];
349-
[elyByAccountButton setTitle:@"Ely.by Account" forState:UIControlStateNormal];
350-
[elyByAccountButton addTarget:self action:@selector(addElyByAccount) forControlEvents:UIControlEventTouchUpInside];
351-
elyByAccountButton.frame = CGRectMake(50, 300, 200, 50);
352-
[self.view addSubview:elyByAccountButton];
353-
}
354-
355-
- (void)addLocalAccount {
356-
// Handle adding local account
357-
}
358-
359-
- (void)addMicrosoftAccount {
360-
// Handle adding Microsoft account
361-
}
362-
363-
- (void)addElyByAccount {
364-
// Handle adding Ely.by account
365-
}
366-
367-
@end

Natives/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ add_executable(PojavLauncher
109109
authenticator/BaseAuthenticator.m
110110
authenticator/LocalAuthenticator.m
111111
authenticator/MicrosoftAuthenticator.m
112-
authenticator/ElyByAuthenticator.m # Corrected path
112+
authenticator/ElyByAuthenticator.m
113113

114114
ctxbridges/gl_bridge.m
115115
ctxbridges/osm_bridge.m
@@ -141,7 +141,6 @@ add_executable(PojavLauncher
141141
input/KeyboardInput.m
142142

143143
AccountListViewController.m
144-
AccountSelectionViewController.m # Add this line
145144
AppDelegate.m
146145
CustomControlsViewController.m
147146
CustomControlsViewController+UndoManager.m

Natives/authenticator/BaseAuthenticator.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ typedef void(^Callback)(id status, BOOL success);
1212
+ (NSDictionary *)tokenDataOfProfile:(NSString *)profile;
1313

1414
- (id)initWithInput:(NSString *)string;
15-
- (id)initWithData:(NSMutableDictionary *)data; // Add this line
1615
- (void)loginWithCallback:(Callback)callback;
1716
- (void)refreshTokenWithCallback:(Callback)callback;
1817
- (BOOL)saveChanges;

0 commit comments

Comments
 (0)