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

View file

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