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
de23152b
Commit
de23152b
authored
Nov 30, 2024
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除不使用传参
parent
848ce904
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
39 deletions
+19
-39
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeFragment.java
...c/main/java/cn/garymb/ygomobile/ui/home/HomeFragment.java
+0
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/settings/SettingFragment.java
...java/cn/garymb/ygomobile/ui/settings/SettingFragment.java
+19
-29
mobile/src/main/java/cn/garymb/ygomobile/utils/YGOUtil.java
mobile/src/main/java/cn/garymb/ygomobile/utils/YGOUtil.java
+0
-9
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeFragment.java
View file @
de23152b
...
@@ -716,7 +716,6 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
...
@@ -716,7 +716,6 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
duelAssistantManagement
=
DuelAssistantManagement
.
getInstance
();
duelAssistantManagement
=
DuelAssistantManagement
.
getInstance
();
duelAssistantManagement
.
init
(
getActivity
());
duelAssistantManagement
.
init
(
getActivity
());
duelAssistantManagement
.
addDuelAssistantListener
(
this
);
duelAssistantManagement
.
addDuelAssistantListener
(
this
);
// YGOUtil.startDuelService(this);
}
}
@Override
@Override
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/settings/SettingFragment.java
View file @
de23152b
This diff is collapsed.
Click to expand it.
mobile/src/main/java/cn/garymb/ygomobile/utils/YGOUtil.java
View file @
de23152b
...
@@ -154,15 +154,6 @@ public class YGOUtil {
...
@@ -154,15 +154,6 @@ public class YGOUtil {
return
visibleItemCount
>
0
&&
lastVisibleItemPosition
>=
totalItemCount
-
3
&&
state
==
RecyclerView
.
SCROLL_STATE_IDLE
;
return
visibleItemCount
>
0
&&
lastVisibleItemPosition
>=
totalItemCount
-
3
&&
state
==
RecyclerView
.
SCROLL_STATE_IDLE
;
}
}
public
static
void
startDuelService
(
Context
context
)
{
// if (AppsSettings.get().isServiceDuelAssistant()) {
// if (!Util.startDuelService(context)) {
// getNotificationPermissionDialog(context).show();
// }
// }
}
//判断是否有悬浮窗权限
//判断是否有悬浮窗权限
public
static
boolean
isServicePermission
(
Context
context
,
boolean
isIntentPermission
)
{
public
static
boolean
isServicePermission
(
Context
context
,
boolean
isIntentPermission
)
{
if
(!
PermissionUtil
.
isServicePermission
(
context
))
{
if
(!
PermissionUtil
.
isServicePermission
(
context
))
{
...
...
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