Neamar / KISS

Lightning fast, open-source, < 250kb Android launcher
https://kisslauncher.com/
GNU General Public License v3.0
2.97k stars 582 forks source link

Support for direct icon apply from the icon pack #1936

Open Donnnno opened 2 years ago

Donnnno commented 2 years ago

Many launchers support an option to apply an icon-pack from the icon pack itself. Like this:

image

It would be great for KISS to have something like that too :)

Thanks!

Some technical details, this is how it looks in the icon pack with Omega as an example:

https://github.com/zixpo/candybar/commit/271e77560c1237df72ac60e5691c10ee39256901

and some code from omega/ trebuchet:

https://github.com/NeoApplications/Neo-Launcher/blob/A-11/Omega/src/com/saggitt/omega/iconpack/ApplyIconPackActivity.kt

TBog commented 2 years ago

This is an icon pack feature also. Can't be done just from the launcher.

Donnnno commented 2 years ago

Yes! I can do the icon pack part (for all icon packs, using the Candybar dashboard :), with something like this:


            case OMEGA:
                try {
                    final Intent omega = new Intent("com.saggitt.omega.APPLY_ICONS");
                    omega.setComponent(ComponentName.unflattenFromString("com.saggitt.omega.iconpack.ApplyIconPackActivity"));
                    omega.putExtra("packageName", context.getPackageName());
                    context.startActivity(omega);
                } catch (ActivityNotFoundException | NullPointerException e) {
                    openGooglePlay(context, launcherPackage, launcherName);
                }
                break;

But something needs to be done from KISS part too