Global Server 3 years ago
parent
commit
d547a3ccaa
  1. 2
      src/components/sidebarLeft/index.ts
  2. 4
      src/components/sidebarLeft/tabs/peopleNearby.ts
  3. 2
      src/scss/partials/_peopleNearby.scss

2
src/components/sidebarLeft/index.ts

@ -25,7 +25,7 @@ import AppNewChannelTab from "./tabs/newChannel"; @@ -25,7 +25,7 @@ import AppNewChannelTab from "./tabs/newChannel";
import AppContactsTab from "./tabs/contacts";
import AppArchivedTab from "./tabs/archivedTab";
import AppAddMembersTab from "./tabs/addMembers";
import AppPeopleNearby from "./tabs/PeopleNearby";
import AppPeopleNearby from "./tabs/peopleNearby";
import { i18n_, LangPackKey } from "../../lib/langPack";
import { ButtonMenuItemOptions } from "../buttonMenu";
import CheckboxField from "../checkboxField";

4
src/components/sidebarLeft/tabs/PeopleNearby.ts → src/components/sidebarLeft/tabs/peopleNearby.ts

@ -185,7 +185,7 @@ export default class AppPeopleNearby extends SliderSuperTab { @@ -185,7 +185,7 @@ export default class AppPeopleNearby extends SliderSuperTab {
break;
}
}
dom.lastMessageSpan.append(', '+i18n('Members', [participantsCount]));
dom.lastMessageSpan.append(', ', i18n('Members', [participantsCount]));
}
});
@ -234,7 +234,7 @@ export default class AppPeopleNearby extends SliderSuperTab { @@ -234,7 +234,7 @@ export default class AppPeopleNearby extends SliderSuperTab {
const distanceCheck = this.calculateDistance(
result.coords.latitude, result.coords.longitude,
this.latestLocationSaved.latitude, this.latestLocationSaved.longitude
);
) > 100;
if((isLatitudeDifferent || isLongitudeDifferent) && distanceCheck){
appUsersManager.getLocated(
result.coords.latitude,

2
src/scss/partials/_peopleNearby.scss

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
.peoplenearby-container {
div.text.nearby-description {
margin-top: 15px;
text-align: center;
@ -77,3 +78,4 @@ div.text.nearby-error { @@ -77,3 +78,4 @@ div.text.nearby-error {
50% { opacity: 0%; }
to { opacity: 100%; }
}
}
Loading…
Cancel
Save