updated analytics navigation to work with new constructs popup

This commit is contained in:
ggurdin 2024-06-03 12:57:46 -04:00
parent 5bf5c904fa
commit 251f7c6582
2 changed files with 1 additions and 13 deletions

View file

@ -93,9 +93,7 @@ class BaseAnalyticsController extends State<BaseAnalyticsPage> {
pangeaController.analytics.currentAnalyticsTimeSpan;
void navigate() {
if (currentLemma != null) {
setCurrentLemma(null);
} else if (selectedView != null) {
if (selectedView != null) {
setSelectedView(null);
} else {
Navigator.of(context).pop();

View file

@ -77,16 +77,6 @@ class BaseAnalyticsView extends StatelessWidget {
? controller.setCurrentLemma(null)
: null,
),
if (controller.currentLemma != null)
const TextSpan(
text: " > ",
),
if (controller.currentLemma != null)
TextSpan(
text: controller.currentLemma,
style: const TextStyle(decoration: TextDecoration.underline),
recognizer: TapGestureRecognizer()..onTap = () {},
),
],
),
overflow: TextOverflow.ellipsis,