mirror of
https://github.com/zontreck/NBTEditor
synced 2024-11-21 05:25:54 -07:00
Refactor: Rename applogo image file to application name
This commit is contained in:
parent
279bc5a298
commit
10f18668de
4 changed files with 5 additions and 3 deletions
Before Width: | Height: | Size: 5.2 MiB After Width: | Height: | Size: 5.2 MiB |
Before Width: | Height: | Size: 5.8 MiB After Width: | Height: | Size: 5.8 MiB |
|
@ -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) {
|
||||||
|
|
|
@ -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"
|
Loading…
Reference in a new issue