Skip to content

Commit

Permalink
fix: Fix bug when deepin id shows not activated after login
Browse files Browse the repository at this point in the history
/etc/deepin-version was deprecated. Move to apis utilizing /etc/os-version instead.

Issue: linuxdeepin/developer-center#9904
Log: Fix bug when deepin id shows not activated after login
  • Loading branch information
ArchieMeng authored and deepin-bot[bot] committed Jul 24, 2024
1 parent 92f7be6 commit 3236b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcc-deepinid-plugin/operation/syncworker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ void SyncWorker::getUserDeepinidInfo()

void SyncWorker::getLicenseState()
{
if (DSysInfo::DeepinDesktop == DSysInfo::deepinType()) {
if (DSysInfo::uosEditionType() == DSysInfo::UosCommunity) {
m_model->setActivation(true);
return;
}
Expand Down

0 comments on commit 3236b4c

Please sign in to comment.