barsa-novin-ray-core 2.3.66 → 2.3.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2524,7 +2524,11 @@ class BbbTranslatePipe {
2524
2524
  if (!key.replace) {
2525
2525
  return key;
2526
2526
  }
2527
- let result = BarsaApi.BBB[key] ?? key;
2527
+ let result = BarsaApi.BBB[key];
2528
+ if (!result) {
2529
+ const tKey = key.trimStart().trimEnd();
2530
+ result = BarsaApi.BBB[tKey] ?? key;
2531
+ }
2528
2532
  if (addText) {
2529
2533
  result += ' ' + this.transform(addText);
2530
2534
  }
@@ -5162,6 +5166,9 @@ class ApplicationCtrlrService {
5162
5166
  }
5163
5167
  this._addSystemUi(context._systemsUi);
5164
5168
  this._customApplicationMenuBodyUi = appMenuBodyUi;
5169
+ this._customApplicationMenuBodyUi.on({
5170
+ HideMenu: () => this._document?.body?.click()
5171
+ });
5165
5172
  }
5166
5173
  _appMenuBodyUi_itemsChanged(items) {
5167
5174
  this._appMenuItems$.next([...items]);