Fix renamed icon pack name
This commit is contained in:
parent
596bd7bc08
commit
84b21641a0
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user