Fix renamed icon pack name

This commit is contained in:
MrLetsplay 2023-10-01 23:25:35 +02:00
parent 596bd7bc08
commit 84b21641a0
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg

View File

@ -195,7 +195,7 @@ public class MainActivity extends BaseActivity {
break; break;
case 2: // Rename imported case 2: // Rename imported
try { try {
IconUtil.importIconPack(this, doc, meta.getName() + "(" + meta.getVersion() + ")", UUID.randomUUID().toString()); IconUtil.importIconPack(this, doc, meta.getName() + " (" + meta.getVersion() + ")", UUID.randomUUID().toString());
Toast.makeText(this, getString(R.string.icon_pack_imported, meta.getIcons().length), Toast.LENGTH_LONG).show(); Toast.makeText(this, getString(R.string.icon_pack_imported, meta.getIcons().length), Toast.LENGTH_LONG).show();
} catch (IconPackException e) { } catch (IconPackException e) {
DialogUtil.showErrorDialog(this, "Failed to import icon pack", e); DialogUtil.showErrorDialog(this, "Failed to import icon pack", e);