Refactor: Rename applogo image file to application name

This commit is contained in:
zontreck 2024-07-22 18:55:24 -07:00
parent 279bc5a298
commit 10f18668de
4 changed files with 5 additions and 3 deletions

View file

Before

Width:  |  Height:  |  Size: 5.2 MiB

After

Width:  |  Height:  |  Size: 5.2 MiB

View file

Before

Width:  |  Height:  |  Size: 5.8 MiB

After

Width:  |  Height:  |  Size: 5.8 MiB

View file

@ -126,10 +126,11 @@ class EditorState extends State<Editor> {
title: const Text("S A V E N B T"), title: const Text("S A V E N B T"),
subtitle: const Text("Save to NBT"), subtitle: const Text("Save to NBT"),
leading: const Image( leading: const Image(
image: AssetImage("Icons/PNG/AppLogo.png"), image: AssetImage("Icons/PNG/nbteditor.png"),
), ),
onTap: () async { onTap: () async {
// Prompt for where to save // Prompt for where to save
print("Begin picking file to save to");
String? filePath = await FilePicker.platform String? filePath = await FilePicker.platform
.saveFile(dialogTitle: "Where do you want to save the file?"); .saveFile(dialogTitle: "Where do you want to save the file?");
if (filePath == null) { if (filePath == null) {
@ -176,6 +177,7 @@ class EditorState extends State<Editor> {
), ),
onTap: () async { onTap: () async {
// Prompt for where to save // Prompt for where to save
print("Begin picking file to save to");
String? filePath = await FilePicker.platform String? filePath = await FilePicker.platform
.saveFile(dialogTitle: "Where do you want to save the file?"); .saveFile(dialogTitle: "Where do you want to save the file?");
if (filePath == null) { if (filePath == null) {

View file

@ -40,5 +40,5 @@ flutter:
- "Icons/PNG/LongArray.png" - "Icons/PNG/LongArray.png"
- "Icons/PNG/Short.png" - "Icons/PNG/Short.png"
- "Icons/PNG/String.png" - "Icons/PNG/String.png"
- "Icons/PNG/AppLogo.png" - "Icons/PNG/nbteditor.png"
- "Icons/PNG/AppLogo-sweet.png" - "Icons/PNG/nbteditor-sweet.png"