Skip to content

Fix: resolve some project warnings#1496

Merged
whattherestimefor merged 7 commits intomastodon:developfrom
aokj4ck:fix/resolve-some-project-warnings
Jan 2, 2026
Merged

Fix: resolve some project warnings#1496
whattherestimefor merged 7 commits intomastodon:developfrom
aokj4ck:fix/resolve-some-project-warnings

Conversation

@aokj4ck
Copy link
Contributor

@aokj4ck aokj4ck commented Jan 2, 2026

Description

  • Fix 12 build warnings by resolving concurrency annotation warnings, removing duplicated Hashable conformance, replacing applicationIconBadgeNumber with UNUserNotificationCenter, and removing an unused-captured-Self.
  • Built with Xcode 26.2

Screenshots

Before on main After on PR fix branch
291 Warnings 279 Warnings
Screenshot 2026-01-01 at 21 00 21 Screenshot 2026-01-01 at 20 53 15

@whattherestimefor whattherestimefor merged commit d2baeae into mastodon:develop Jan 2, 2026
2 checks passed
aokj4ck added a commit to aokj4ck/mastodon-ios that referenced this pull request Jan 2, 2026
* Remove CGSize conformance to Hashable, already provided by CoreGraphics

* Fix APIService concurrency warnings by adding MainActor annotations to some extensions

* Fix unused variable reference warning

* Update to UNUserNotificationCenter to set badge count, replacing deprecated UIApplication call

* Remove unused reference to self in SettingsService.init closure

* Fix concurrency warning by adding MainActor annotation to AutoCompleteViewModel.State subclass

* Fix concurrency warnings by removing await annotation for non-async functions in AutoCompleteViewModel+State
@aokj4ck aokj4ck deleted the fix/resolve-some-project-warnings branch January 31, 2026 04:29
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.

2 participants