Telegram Application
Telegram for Android
Describe the Bug
when using the addToHomeScreen method, I'm supposed to get a popup asking me to add the app as shortcut.
and if the 'Home Screen shortcuts' isn't enabled, the addToHomeScreen doesn't ask/notify me to enable that permession.
To Reproduce
if(addToHomeScreen?.isAvailable()) {
addToHomeScreen()
}
Expected Behavior
the method should ask for permession first if it's not enabled