Theme work profile (#3748)

* Theme work profile

* Improved close action in workedu
This commit is contained in:
John Andrew Camu
2023-11-20 19:45:28 +08:00
committed by GitHub
parent 71e6b28755
commit 30d3b8722b
8 changed files with 112 additions and 59 deletions

View File

@@ -1034,13 +1034,11 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
}
private void setDeviceManagementResources() {
if (mActivityContext.getStringCache() != null) {
Button personalTab = findViewById(R.id.tab_personal);
personalTab.setText(mActivityContext.getStringCache().allAppsPersonalTab);
Button personalTab = findViewById(R.id.tab_personal);
personalTab.setText(R.string.all_apps_personal_tab);
Button workTab = findViewById(R.id.tab_work);
workTab.setText(mActivityContext.getStringCache().allAppsWorkTab);
}
Button workTab = findViewById(R.id.tab_work);
workTab.setText(R.string.all_apps_work_tab);
}
protected boolean shouldShowTabs() {