Theme work profile (#3748)

* Theme work profile

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

No files matched your search

@@ -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() {