Add an app setting to disable rendering the chrome around the app logo/brand.
This commit is contained in:
committed by
Stefan Ceriu
parent
9ac83d06c7
commit
afc09fd618
@@ -159,6 +159,7 @@ class AuthenticationStartScreenViewModelTests: XCTestCase {
|
||||
private func setAllowedAccountProviders(_ providers: [String]) {
|
||||
appSettings.override(accountProviders: providers,
|
||||
allowOtherAccountProviders: false,
|
||||
hideBrandChrome: false,
|
||||
pushGatewayBaseURL: appSettings.pushGatewayBaseURL,
|
||||
oidcRedirectURL: appSettings.oidcRedirectURL,
|
||||
websiteURL: appSettings.websiteURL,
|
||||
|
||||
@@ -311,6 +311,7 @@ class ServerConfirmationScreenViewModelTests: XCTestCase {
|
||||
if restrictedFlow {
|
||||
appSettings.override(accountProviders: ["matrix.org", "beta.matrix.org"],
|
||||
allowOtherAccountProviders: false,
|
||||
hideBrandChrome: false,
|
||||
pushGatewayBaseURL: appSettings.pushGatewayBaseURL,
|
||||
oidcRedirectURL: appSettings.oidcRedirectURL,
|
||||
websiteURL: appSettings.websiteURL,
|
||||
|
||||
Reference in New Issue
Block a user