chore: remove analytics popup header text on mobile (#1966)
This commit is contained in:
parent
f5708facd9
commit
82ac5da135
1 changed files with 8 additions and 5 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
||||
|
|
@ -80,11 +81,13 @@ class AnalyticsPopupWrapperState extends State<AnalyticsPopupWrapper> {
|
|||
return FullWidthDialog(
|
||||
dialogContent: Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(
|
||||
localView == ConstructTypeEnum.morph
|
||||
? ConstructTypeEnum.morph.indicator.tooltip(context)
|
||||
: ConstructTypeEnum.vocab.indicator.tooltip(context),
|
||||
),
|
||||
title: kIsWeb
|
||||
? Text(
|
||||
localView == ConstructTypeEnum.morph
|
||||
? ConstructTypeEnum.morph.indicator.tooltip(context)
|
||||
: ConstructTypeEnum.vocab.indicator.tooltip(context),
|
||||
)
|
||||
: null,
|
||||
leading: IconButton(
|
||||
icon: localConstructZoom == null
|
||||
? const Icon(Icons.close)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue