Browse Source

修改提示文案

Pq 1 year ago
parent
commit
282c5ac856

+ 2 - 2
student/src/main/java/com/cooleshow/student/ui/main/MallFragment.java

@@ -369,7 +369,7 @@ public class MallFragment extends BaseMVPFragment<FragmentMallBinding, ShopMallP
                 String imageBase64 = content.getString("image");
                 String imageBase64 = content.getString("image");
                 /*增加自定义按钮的分享面板*/
                 /*增加自定义按钮的分享面板*/
                 mShareAction = new ShareAction(getActivity()).setDisplayList(
                 mShareAction = new ShareAction(getActivity()).setDisplayList(
-                        SHARE_MEDIA.WEIXIN, SHARE_MEDIA.WEIXIN_CIRCLE, SHARE_MEDIA.SINA)
+                                SHARE_MEDIA.WEIXIN, SHARE_MEDIA.WEIXIN_CIRCLE, SHARE_MEDIA.SINA)
                         .setShareboardclickCallback(new ShareBoardlistener() {
                         .setShareboardclickCallback(new ShareBoardlistener() {
                             @Override
                             @Override
                             public void onclick(SnsPlatform snsPlatform, SHARE_MEDIA share_media) {
                             public void onclick(SnsPlatform snsPlatform, SHARE_MEDIA share_media) {
@@ -668,7 +668,7 @@ public class MallFragment extends BaseMVPFragment<FragmentMallBinding, ShopMallP
             out.write(buffer);
             out.write(buffer);
             out.close();
             out.close();
             getContext().sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(new File(savePath + fileName))));
             getContext().sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(new File(savePath + fileName))));
-            ToastUtil.getInstance().showShort("图片储存在:" + savePath);
+            ToastUtil.getInstance().showShort("已保存到相册");
         } catch (Exception e) {
         } catch (Exception e) {
             e.printStackTrace();
             e.printStackTrace();
         }
         }

+ 1 - 1
student/src/main/java/com/cooleshow/student/ui/web/HtmlHorizontalScreenActivity.java

@@ -802,7 +802,7 @@ public class HtmlHorizontalScreenActivity extends BaseActivity<ActivityHtml1Bind
             out.write(buffer);
             out.write(buffer);
             out.close();
             out.close();
             sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(new File(savePath + fileName))));
             sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(new File(savePath + fileName))));
-            ToastUtil.getInstance().showShort("图片储存在:" + savePath);
+            ToastUtil.getInstance().showShort("已保存到相册");
         } catch (Exception e) {
         } catch (Exception e) {
             e.printStackTrace();
             e.printStackTrace();
         }
         }

+ 1 - 1
teacher/src/main/java/com/cooleshow/teacher/ui/main/MallFragment.java

@@ -674,7 +674,7 @@ public class MallFragment extends BaseMVPFragment<FragmentMallBinding, ShopMallP
             out.write(buffer);
             out.write(buffer);
             out.close();
             out.close();
             getContext().sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(new File(savePath + fileName))));
             getContext().sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(new File(savePath + fileName))));
-            ToastUtil.getInstance().showShort("图片储存在:" + savePath);
+            ToastUtil.getInstance().showShort("已保存到相册");
         } catch (Exception e) {
         } catch (Exception e) {
             e.printStackTrace();
             e.printStackTrace();
         }
         }

+ 1 - 1
teacher/src/main/java/com/cooleshow/teacher/ui/web/HtmlHorizontalScreenActivity.java

@@ -799,7 +799,7 @@ public class HtmlHorizontalScreenActivity extends BaseActivity<ActivityHtml1Bind
             out.write(buffer);
             out.write(buffer);
             out.close();
             out.close();
             sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(new File(savePath + fileName))));
             sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(new File(savePath + fileName))));
-            ToastUtil.getInstance().showShort("图片储存在:" + savePath);
+            ToastUtil.getInstance().showShort("已保存到相册");
         } catch (Exception e) {
         } catch (Exception e) {
             e.printStackTrace();
             e.printStackTrace();
         }
         }