refactor: Homeserver picker

This commit is contained in:
Krille Fear 2021-11-15 12:14:00 +01:00
commit 4bc45a75c5
3 changed files with 95 additions and 126 deletions

View file

@ -80,8 +80,8 @@ abstract class ClientManager {
legacyDatabaseBuilder: FlutterMatrixHiveStore.hiveDatabaseBuilder,
supportedLoginTypes: {
AuthenticationTypes.password,
//if (PlatformInfos.isMobile || PlatformInfos.isWeb)
AuthenticationTypes.sso
if (PlatformInfos.isMobile || PlatformInfos.isWeb)
AuthenticationTypes.sso
},
compute: compute,
);