Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
auto_track_plugin
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
顾海波
2025-06-09 09:58:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3e29ce6fa9b825e639feba72de9e71b70f7b1848
3e29ce6f
1 parent
3cf2fd05
【优化】修改获取设备id时机,用于上架
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
lib/auto_track/config/manager.dart
lib/auto_track/config/manager.dart
View file @
3e29ce6
...
...
@@ -62,7 +62,6 @@ class AutoTrackConfigManager {
updateConfig
((
old
)
{
return
config
;
});
_updateDeviceId
();
}
void
updateConfig
(
UpdateConfigFunc
func
)
{
...
...
@@ -96,6 +95,9 @@ class AutoTrackConfigManager {
void
enableAutoTrack
(
bool
enable
)
{
_autoTrackEnable
=
enable
;
if
(
enable
){
_updateDeviceId
();
}
//获取token
getToken
(
false
);
}
...
...
Please
register
or
login
to post a comment