tanujnotes / Olauncher

Minimal AF Launcher for Android. Reduce your screen time. Daily wallpapers.

Home Page:https://play.google.com/store/apps/details?id=app.olauncher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename, when several launching activities in one app

mariohuq opened this issue · comments

Version: 4.1.5

If the app has two separate launching shortcuts, for example this,
and you rename one of them in Olauncher,

(actual behavior)

  1. the other shortcut is renamed too
  2. you cannot undo renaming even if you reinstall the app.

Expected behaviour:

  1. Other shortcuts are unaffected when renamed one of them
  2. Renames are not stored for uninstalled apps

I think, that problem lies in

fun getAppRenameLabel(appPackage: String): String = prefs.getString(appPackage, "").toString()

I'm aware of the issue. It's low priority though.

@tanujnotes would you review if I made a pull request with a fix for that?

@mariohuq Yes, that'd be great.