Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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-Cn-Ko-En
Commits
49971ee0
Commit
49971ee0
authored
Jun 11, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix currentDeckPath空指
parent
24b5f237
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/DeckManagerActivityImpl.java
...cn/garymb/ygomobile/ui/cards/DeckManagerActivityImpl.java
+6
-4
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/DeckManagerActivityImpl.java
View file @
49971ee0
...
@@ -1189,10 +1189,12 @@ class DeckManagerActivityImpl extends BaseCardsAcitivity implements RecyclerView
...
@@ -1189,10 +1189,12 @@ class DeckManagerActivityImpl extends BaseCardsAcitivity implements RecyclerView
@Override
@Override
public
void
onDeckMove
(
List
<
DeckFile
>
deckFileList
,
DeckType
toDeckType
)
{
public
void
onDeckMove
(
List
<
DeckFile
>
deckFileList
,
DeckType
toDeckType
)
{
String
currentDeckPath
=
mDeckAdapater
.
getYdkFile
().
getAbsolutePath
();
String
currentDeckPath
=
mDeckAdapater
.
getYdkFile
().
getAbsolutePath
();
for
(
DeckFile
deckFile
:
deckFileList
)
{
if
(
currentDeckPath
!=
null
)
{
if
(
deckFile
.
getPath
().
equals
(
currentDeckPath
))
{
for
(
DeckFile
deckFile
:
deckFileList
)
{
loadDeckFromFile
(
new
File
(
toDeckType
.
getPath
(),
deckFile
.
getName
()
+
".ydk"
));
if
(
deckFile
.
getPath
().
equals
(
currentDeckPath
))
{
return
;
loadDeckFromFile
(
new
File
(
toDeckType
.
getPath
(),
deckFile
.
getName
()
+
".ydk"
));
return
;
}
}
}
}
}
}
}
...
...
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