Make the remote settings hook usable within the app extensions. (#4342)

This commit is contained in:
Doug
2025-07-22 17:09:53 +01:00
committed by GitHub
parent 82c659f3da
commit 5e165be8c3
20 changed files with 245 additions and 139 deletions
@@ -112,10 +112,10 @@ class BugReportServiceTests: XCTestCase {
appHooks: AppHooks())
XCTAssertTrue(service.isEnabled)
appSettings.bugReportRageshakeURL.override(.disabled)
appSettings.bugReportRageshakeURL.applyRemoteValue(.disabled)
XCTAssertFalse(service.isEnabled)
appSettings.bugReportRageshakeURL.override(.url("https://bugs.server.net/submit"))
appSettings.bugReportRageshakeURL.applyRemoteValue(.url("https://bugs.server.net/submit"))
XCTAssertTrue(service.isEnabled)
let bugReport = BugReport(userID: "@mock:client.com",