Merge branch 'pangeachat:main' into 218-improve-interactive-translator

pull/1183/head
Matt 1 year ago committed by GitHub
commit 7828f881f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -191,7 +191,10 @@ class HomeserverPickerController extends State<HomeserverPicker> {
} finally { } finally {
if (mounted) { if (mounted) {
setState(() { setState(() {
isLoading = isLoggingIn = false; // #Pangea
// isLoading = isLoggingIn = false;
isLoggingIn = false;
// Pangea#
}); });
} }
} }

@ -70,7 +70,14 @@ class HomeserverPickerView extends StatelessWidget {
// Pangea# // Pangea#
Expanded( Expanded(
child: controller.isLoading child: controller.isLoading
? const Center(child: CircularProgressIndicator.adaptive()) // #Pangea
// ? const Center(child: CircularProgressIndicator.adaptive())
? const Center(
child: CircularProgressIndicator(
valueColor: AlwaysStoppedAnimation<Color>(Colors.black),
),
)
// Pangea#
: ListView( : ListView(
children: [ children: [
if (errorText != null) ...[ if (errorText != null) ...[

@ -120,7 +120,9 @@ class LoginController extends State<Login> {
return setState(() => loading = false); return setState(() => loading = false);
} }
if (mounted) setState(() => loading = false); // #Pangea
// if (mounted) setState(() => loading = false);
// Pangea#
} }
Timer? _coolDown; Timer? _coolDown;

Loading…
Cancel
Save