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
512247ba
Commit
512247ba
authored
Jul 02, 2025
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
由预览卡组广场的卡组时切换到本地卡组自动隐藏点赞按钮
点赞后清除卡组id 微调点赞布局
parent
a478328c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/DeckManagerFragment.java
...ava/cn/garymb/ygomobile/ui/cards/DeckManagerFragment.java
+4
-0
mobile/src/main/res/layout/fragment_deck_cards.xml
mobile/src/main/res/layout/fragment_deck_cards.xml
+6
-0
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/DeckManagerFragment.java
View file @
512247ba
...
...
@@ -239,7 +239,10 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
}
else
{
YGOUtil
.
showTextToast
(
data
!=
null
?
data
.
getMessage
()
:
"点赞失败"
);
}
mDeckId
=
null
;
});
}
else
{
ll_click_like
.
setVisibility
(
View
.
GONE
);
}
});
tv_deck
.
setOnClickListener
(
v
->
{
...
...
@@ -1363,6 +1366,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
}
else
{
loadDeckFromFile
(
deckFile
.
getPathFile
());
ll_click_like
.
setVisibility
(
View
.
GONE
);
}
}
...
...
mobile/src/main/res/layout/fragment_deck_cards.xml
View file @
512247ba
...
...
@@ -81,7 +81,13 @@
android:layout_marginStart=
"5dp"
android:layout_marginEnd=
"5dp"
android:layout_weight=
"1"
android:textSize=
"10sp"
android:maxLines=
"1"
android:gravity=
"center"
android:shadowColor=
"@color/black"
android:shadowDx=
"1"
android:shadowDy=
"1"
android:shadowRadius=
"2"
android:text=
"@string/like_deck_thumb"
android:textColor=
"@color/white"
/>
</LinearLayout>
...
...
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