Skip to content

Fix Swift compiler errors in AI Assistant view controllers#26

Merged
backdoor-bdg-3 merged 1 commit into
mainfrom
codegen-bot/4300d3e5
Apr 28, 2025
Merged

Fix Swift compiler errors in AI Assistant view controllers#26
backdoor-bdg-3 merged 1 commit into
mainfrom
codegen-bot/4300d3e5

Conversation

@codegen-sh
Copy link
Copy Markdown

@codegen-sh codegen-sh Bot commented Apr 28, 2025

This PR fixes several Swift compiler errors in the AI Assistant view controllers:

Fixed in AIViewController.swift:

  1. Added missing frame parameter in UITableView initialization
  2. Added override keyword for refreshContent() method
  3. Fixed missing contextual base for .systemGroupedBackground and .singleLine by adding explicit types
  4. Removed unnecessary try expression in fetchRecentChatSessions call

Fixed in ChatViewController.swift:

  1. Fixed several "expected ')' in expression list" errors by replacing DispatchQueue.main.async(execute: { ... }) with DispatchQueue.main.async { ... }
  2. Fixed trailing comma in NSLayoutConstraint array

These changes should resolve all the compiler errors mentioned in the issue.


💻 View my workAbout Codegen

@mentatbot
Copy link
Copy Markdown

mentatbot Bot commented Apr 28, 2025

If you would like me to review this PR, either tag me in a comment or check this box:

  • Review PR

You can disable automatic comments on my settings page

@backdoor-bdg-3 backdoor-bdg-3 marked this pull request as ready for review April 28, 2025 07:34
@backdoor-bdg-3 backdoor-bdg-3 merged commit 59404ca into main Apr 28, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant