@@ -170,7 +170,6 @@ public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
170170 menuItems .add (new MenuItems (v .getContext ().getString (R .string .search_market_message , v .getContext ().getString (R .string .playstore )), R .drawable .ic_playstore , 0 ));
171171 menuItems .add (new MenuItems (v .getContext ().getString (R .string .search_market_message , v .getContext ().getString (R .string .fdroid )), R .drawable .ic_fdroid ,1 ));
172172 menuItems .add (new MenuItems (v .getContext ().getString (R .string .export_details ), R .drawable .ic_rate , 2 ));
173- menuItems .add (new MenuItems (v .getContext ().getString (R .string .share ), R .drawable .ic_share , 3 ));
174173
175174 new BottomMenuDialog (menuItems , appIcon , null , mAppName , mPackageName , v .getContext ()) {
176175 @ Override
@@ -199,16 +198,6 @@ public void onMenuItemClicked(int menuID) {
199198 }).show ();
200199 }
201200 break ;
202- case 3 :
203- Intent shareLink = new Intent ();
204- shareLink .setAction (Intent .ACTION_SEND );
205- shareLink .putExtra (Intent .EXTRA_SUBJECT , mAppName );
206- shareLink .putExtra (Intent .EXTRA_TEXT , "https://play.google.com/store/apps/details?id=" + mPackageName
207- + "\n \n " + getString (R .string .share_message , BuildConfig .VERSION_NAME ));
208- shareLink .setType ("text/plain" );
209- Intent shareIntent = Intent .createChooser (shareLink , getString (R .string .share_with ));
210- startActivity (shareIntent );
211- break ;
212201 }
213202 }
214203 };
0 commit comments