mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-13 17:30:31 -07:00
fix: saved servers for web
This commit is contained in:
parent
9df13cfb34
commit
2a2502147a
2 changed files with 7 additions and 3 deletions
|
|
@ -22,6 +22,7 @@ class DiscoverServersWidget extends ConsumerWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
if (FladderConfig.baseUrl?.isNotEmpty == true) return const SizedBox.shrink();
|
||||
final existingServers = serverCredentials
|
||||
.map(
|
||||
(credentials) => DiscoveryInfo(
|
||||
|
|
@ -59,7 +60,7 @@ class DiscoverServersWidget extends ConsumerWidget {
|
|||
.toList()
|
||||
.addInBetween(const SizedBox(height: 4)),
|
||||
],
|
||||
if (!kIsWeb && FladderConfig.baseUrl?.isEmpty == true) ...[
|
||||
if (!kIsWeb) ...[
|
||||
const Divider(),
|
||||
Row(
|
||||
children: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue