updated analytics navigation to work with new constructs popup
This commit is contained in:
parent
5bf5c904fa
commit
251f7c6582
2 changed files with 1 additions and 13 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue