Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
ec089131
Commit
ec089131
authored
Feb 01, 2023
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert 强制复制pics
*直接录像、决斗助手启动ygopro会来不及载图
parent
3f746924
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
...c/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/utils/YGODialogUtil.java
...rc/main/java/cn/garymb/ygomobile/utils/YGODialogUtil.java
+0
-13
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
View file @
ec089131
...
...
@@ -271,7 +271,7 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
if
(
IOUtils
.
hasAssets
(
mContext
,
getDatapath
(
Constants
.
CORE_PICS_ZIP
)))
{
setMessage
(
mContext
.
getString
(
R
.
string
.
check_things
,
mContext
.
getString
(
R
.
string
.
images
)));
IOUtils
.
copyFilesFromAssets
(
mContext
,
getDatapath
(
Constants
.
CORE_PICS_ZIP
),
resPath
,
tru
e
);
resPath
,
needsUpdat
e
);
}
//复制人机资源
IOUtils
.
copyFilesFromAssets
(
mContext
,
getDatapath
(
Constants
.
WINDBOT_PATH
),
mSettings
.
getResourcePath
(),
needsUpdate
);
...
...
mobile/src/main/java/cn/garymb/ygomobile/utils/YGODialogUtil.java
View file @
ec089131
package
cn.garymb.ygomobile.utils
;
import
static
cn
.
garymb
.
ygomobile
.
lite
.
R
.
string
.
please_select_target_category
;
import
android.content.Context
;
import
android.content.DialogInterface
;
import
android.os.Build
;
...
...
@@ -23,7 +21,6 @@ import androidx.recyclerview.widget.RecyclerView;
import
com.chad.library.adapter.base.BaseQuickAdapter
;
import
com.chad.library.adapter.base.listener.OnItemLongClickListener
;
import
com.feihua.dialogutils.util.DialogUtils
;
import
java.io.File
;
import
java.io.IOException
;
...
...
@@ -32,7 +29,6 @@ import java.util.List;
import
cn.garymb.ygomobile.AppsSettings
;
import
cn.garymb.ygomobile.Constants
;
import
cn.garymb.ygomobile.adapter.TextBaseAdapter
;
import
cn.garymb.ygomobile.bean.DeckType
;
import
cn.garymb.ygomobile.bean.events.DeckFile
;
import
cn.garymb.ygomobile.lite.R
;
...
...
@@ -49,15 +45,6 @@ public class YGODialogUtil {
viewHolder
.
show
();
}
public
static
ListView
dialogl
(
Context
context
,
String
title
,
String
[]
list
)
{
DialogUtils
dialogUtils
=
DialogUtils
.
getInstance
(
context
);
ListView
listView
=
dialogUtils
.
dialogl1
(
title
,
new
TextBaseAdapter
(
context
,
list
,
YGOUtil
.
c
(
R
.
color
.
white
),
10
,
20
,
10
,
20
));
dialogUtils
.
setDialogBackgroundResource
(
R
.
drawable
.
window2s
);
dialogUtils
.
setTitleColor
(
YGOUtil
.
c
(
R
.
color
.
holo_blue_light
));
return
listView
;
}
public
interface
OnDeckMenuListener
{
void
onDeckSelect
(
DeckFile
deckFile
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment