Commit 3d8bd183 authored by fallenstardust's avatar fallenstardust

添加萌卡下载ypk与lflist的toast

parent 0be3bc94
......@@ -107,7 +107,7 @@ dependencies {
//dialog库
implementation 'com.github.feihuaduo:DialogUtils:1.8.9.23'
//recyclerview的adapter库
implementation 'io.github.cymchad:BaseRecyclerViewAdapterHelper4:4.1.4'
implementation 'io.github.cymchad:BaseRecyclerViewAdapterHelper:3.0.14'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
//图片选择
......
......@@ -122,6 +122,8 @@ public class MycardFragment extends BaseFragemnt implements View.OnClickListener
YGOUtil.showTextToast(getString(R.string.tip_download_OK) + getString(R.string.deck_list));
} else if (msg.obj.toString().endsWith(Constants.YRP_FILE_EX)) {
YGOUtil.showTextToast(getString(R.string.tip_download_OK) + getString(R.string.replay_list));
} else if (msg.obj.toString().endsWith(Constants.YPK_FILE_EX) || msg.obj.toString().endsWith(Constants.CORE_LIMIT_PATH)) {
YGOUtil.showTextToast(getString(R.string.ypk_installed) + getString(R.string.restart_app));
} else {
YGOUtil.showTextToast(getString(R.string.tip_download_OK) + AppsSettings.get().getResourcePath());
}
......
......@@ -108,4 +108,9 @@
<dimen name="badge_height_padding">1dp</dimen><!-- 1 -->
<dimen name="badge_top_margin">2dp</dimen><!-- 2 -->
<dimen name="dp_4">4dp</dimen>
<dimen name="dp_10">10dp</dimen>
<dimen name="dp_40">40dp</dimen>
</resources>
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