Unverified Commit 14ca9500 authored by Sarankumar N's avatar Sarankumar N Committed by GitHub
Browse files

Prevent sticker hide on expanded view. (#751)

* Prevent sticker hide on expanded view.

Fixed issue : After previewed sticker in expanded mode selected sticker gone invisible.

* Changed Inc. to LLC

Changed URL that redirect to play store page from Inc. to LLC .
parent 94ecae83
...@@ -123,7 +123,7 @@ public abstract class AddStickerPackActivity extends BaseActivity { ...@@ -123,7 +123,7 @@ public abstract class AddStickerPackActivity extends BaseActivity {
final boolean smbAppInstalled = WhitelistCheck.isPackageInstalled(WhitelistCheck.SMB_WHATSAPP_PACKAGE_NAME, packageManager); final boolean smbAppInstalled = WhitelistCheck.isPackageInstalled(WhitelistCheck.SMB_WHATSAPP_PACKAGE_NAME, packageManager);
final String playPackageLinkPrefix = "http://play.google.com/store/apps/details?id="; final String playPackageLinkPrefix = "http://play.google.com/store/apps/details?id=";
if (whatsAppInstalled && smbAppInstalled) { if (whatsAppInstalled && smbAppInstalled) {
launchPlayStoreWithUri("https://play.google.com/store/apps/developer?id=WhatsApp+Inc."); launchPlayStoreWithUri("https://play.google.com/store/apps/developer?id=WhatsApp+LLC");
} else if (whatsAppInstalled) { } else if (whatsAppInstalled) {
launchPlayStoreWithUri(playPackageLinkPrefix + WhitelistCheck.CONSUMER_WHATSAPP_PACKAGE_NAME); launchPlayStoreWithUri(playPackageLinkPrefix + WhitelistCheck.CONSUMER_WHATSAPP_PACKAGE_NAME);
} else if (smbAppInstalled) { } else if (smbAppInstalled) {
......
...@@ -177,7 +177,6 @@ public class StickerPreviewAdapter extends RecyclerView.Adapter<StickerPreviewVi ...@@ -177,7 +177,6 @@ public class StickerPreviewAdapter extends RecyclerView.Adapter<StickerPreviewVi
expandedStickerPreview.setImageResource(errorResource); expandedStickerPreview.setImageResource(errorResource);
expandedStickerPreview.setController(controller); expandedStickerPreview.setController(controller);
clickedStickerPreview.setVisibility(View.INVISIBLE);
expandedStickerPreview.setVisibility(View.VISIBLE); expandedStickerPreview.setVisibility(View.VISIBLE);
recyclerView.setAlpha(EXPANDED_STICKER_PREVIEW_BACKGROUND_ALPHA); recyclerView.setAlpha(EXPANDED_STICKER_PREVIEW_BACKGROUND_ALPHA);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment