Only show space analytics download button on web (#3797)
This commit is contained in:
parent
20b17e5f3d
commit
50a2005075
1 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:collection/collection.dart';
|
||||
|
|
@ -52,7 +53,8 @@ class SpaceAnalyticsView extends StatelessWidget {
|
|||
hideLabel: false,
|
||||
),
|
||||
if (controller.room != null &&
|
||||
controller.availableAnalyticsRooms.isNotEmpty)
|
||||
controller.availableAnalyticsRooms.isNotEmpty &&
|
||||
kIsWeb)
|
||||
_MenuButton(
|
||||
text: L10n.of(context).download,
|
||||
icon: Icons.download,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue