Add a small banner to web view that says what format the data is in.
This commit is contained in:
parent
e69a4c9732
commit
cbe676a359
4 changed files with 16 additions and 2 deletions
|
@ -124,6 +124,14 @@ class _WebMain extends State<WebMain> {
|
|||
Text(
|
||||
"Use the top left menu to show the various pages for the data viewer.",
|
||||
),
|
||||
if (SessionData.IsSavedData)
|
||||
ListTile(
|
||||
title: Text("You are viewing saved data"),
|
||||
subtitle: Text(
|
||||
"This data was saved in the ${SessionData.SaveDataType} format.\n\nThis data is read-only. You will not be able to edit it.",
|
||||
),
|
||||
tileColor: const Color.fromARGB(255, 7, 123, 255),
|
||||
),
|
||||
ElevatedButton(
|
||||
onPressed: () async {
|
||||
await showDialog(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue