Hide course analytics download button on mobile (#4241)
This commit is contained in:
parent
5d4d51b10b
commit
e9a2d97d37
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';
|
||||
|
|
@ -45,7 +46,8 @@ class SpaceAnalyticsView extends StatelessWidget {
|
|||
mini: mini,
|
||||
hideLabel: false,
|
||||
),
|
||||
if (controller.room != null &&
|
||||
if (kIsWeb &&
|
||||
controller.room != null &&
|
||||
controller.availableAnalyticsRooms.isNotEmpty)
|
||||
_MenuButton(
|
||||
text: L10n.of(context).download,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue