Show member count on invite screen. Fixes #20

This commit is contained in:
janderedev 2021-08-12 10:45:22 +02:00
parent a944ed5040
commit 72ccbce765
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A
4 changed files with 15 additions and 7 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 1ed190cd12a9a99b3e57a626118a65c1424cb194 Subproject commit f20556de7648d4c600ef163b909d2f0141d25ded

View file

@ -115,7 +115,7 @@
"react-virtualized-auto-sizer": "^1.0.5", "react-virtualized-auto-sizer": "^1.0.5",
"react-virtuoso": "^1.10.4", "react-virtuoso": "^1.10.4",
"redux": "^4.1.0", "redux": "^4.1.0",
"revolt-api": "0.5.1-alpha.10-patch.0", "revolt-api": "^0.5.2-alpha.0",
"revolt.js": "5.0.0-alpha.21", "revolt.js": "5.0.0-alpha.21",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"sass": "^1.35.1", "sass": "^1.35.1",

View file

@ -92,7 +92,15 @@ export default function Invite() {
) : ( ) : (
<> <>
<h1>{invite.server_name}</h1> <h1>{invite.server_name}</h1>
<h2>#{invite.channel_name}</h2> <h2>
#{invite.channel_name} {" "}
<Text
id="app.special.invite.user_count"
fields={{
member_count: invite.member_count,
}}
/>
</h2>
<h3> <h3>
<TextReact <TextReact
id="app.special.invite.invited_by" id="app.special.invite.invited_by"

View file

@ -3600,10 +3600,10 @@ reusify@^1.0.4:
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
revolt-api@0.5.1-alpha.10-patch.0: revolt-api@^0.5.2-alpha.0:
version "0.5.1-alpha.10-patch.0" version "0.5.2-alpha.0"
resolved "https://registry.yarnpkg.com/revolt-api/-/revolt-api-0.5.1-alpha.10-patch.0.tgz#97d31bec7dfa4573567097443acb059c4feaac20" resolved "https://registry.yarnpkg.com/revolt-api/-/revolt-api-0.5.2-alpha.0.tgz#a41f44ee38622636c9b5b5843f9e2798a79f00d3"
integrity sha512-UyM890HkGlYNQOxpHuEpUsJHLt8Ujnjg9/zPEDGpbvS4iy0jmHX23Hh8tOCfb/ewxbNrtT3G1HpSWKOneW/vYg== integrity sha512-VI/o4nQTPXrDCVdFpZFfZfj7Q4nunj62gftdmYJtuSmXx+6eN2Nve7QQZjNt6UIH6Dc/IDgiFDcBdafBF9YXug==
revolt.js@5.0.0-alpha.21: revolt.js@5.0.0-alpha.21:
version "5.0.0-alpha.21" version "5.0.0-alpha.21"