This commit is contained in:
Michael Telatynski 2020-08-29 01:14:51 +01:00
parent 23622db74b
commit ae8595690d
3 changed files with 20 additions and 9 deletions

View File

@ -78,17 +78,26 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
<div> <div>
<h2 id="step2_heading">Use Element on mobile</h2> <h2 id="step2_heading">Use Element on mobile</h2>
<p><strong>iOS</strong> (iPhone or iPad)</p> <p><strong>iOS</strong> (iPhone or iPad)</p>
<a href="https://apps.apple.com/app/vector/id1083446067" target="_blank" <a
className="mx_ClearDecoration"> href="https://apps.apple.com/app/vector/id1083446067"
target="_blank"
className="mx_ClearDecoration"
>
<img height="48" src="themes/element/img/download/apple.svg" alt="Apple App Store" /> <img height="48" src="themes/element/img/download/apple.svg" alt="Apple App Store" />
</a> </a>
<p className="mx_Spacer"><strong>Android</strong></p> <p className="mx_Spacer"><strong>Android</strong></p>
<a href="https://play.google.com/store/apps/details?id=im.vector.app" target="_blank" <a
className="mx_ClearDecoration"> href="https://play.google.com/store/apps/details?id=im.vector.app"
target="_blank"
className="mx_ClearDecoration"
>
<img height="48" src="themes/element/img/download/google.svg" alt="Google Play Store" /> <img height="48" src="themes/element/img/download/google.svg" alt="Google Play Store" />
</a> </a>
<a href="https://f-droid.org/repository/browse/?fdid=im.vector.app" target="_blank" <a
className="mx_ClearDecoration"> href="https://f-droid.org/repository/browse/?fdid=im.vector.app"
target="_blank"
className="mx_ClearDecoration"
>
<img height="48" src="themes/element/img/download/fdroid.svg" alt="F-Droid" /> <img height="48" src="themes/element/img/download/fdroid.svg" alt="F-Droid" />
</a> </a>
</div> </div>

View File

@ -17,6 +17,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
import olmWasmPath from "olm/olm.wasm"; import olmWasmPath from "olm/olm.wasm";
import Olm from 'olm'; import Olm from 'olm';
@ -127,6 +128,7 @@ export async function loadSkin() {
import( import(
/* webpackChunkName: "riot-web-component-index" */ /* webpackChunkName: "riot-web-component-index" */
/* webpackPreload: true */ /* webpackPreload: true */
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore - this module is generated so may fail lint // @ts-ignore - this module is generated so may fail lint
"../component-index"), "../component-index"),
]); ]);

View File

@ -27,7 +27,7 @@ import BaseEventIndexManager, {
MatrixEvent, MatrixEvent,
MatrixProfile, MatrixProfile,
SearchArgs, SearchArgs,
SearchResult SearchResult,
} from 'matrix-react-sdk/src/indexing/BaseEventIndexManager'; } from 'matrix-react-sdk/src/indexing/BaseEventIndexManager';
import dis from 'matrix-react-sdk/src/dispatcher/dispatcher'; import dis from 'matrix-react-sdk/src/dispatcher/dispatcher';
import {_t, _td} from 'matrix-react-sdk/src/languageHandler'; import {_t, _td} from 'matrix-react-sdk/src/languageHandler';
@ -99,7 +99,7 @@ interface IPCPayload {
class SeshatIndexManager extends BaseEventIndexManager { class SeshatIndexManager extends BaseEventIndexManager {
private pendingIpcCalls: Record<number, { resolve, reject }> = {}; private pendingIpcCalls: Record<number, { resolve, reject }> = {};
private nextIpcCallId: number = 0; private nextIpcCallId = 0;
constructor() { constructor() {
super(); super();
@ -216,7 +216,7 @@ class SeshatIndexManager extends BaseEventIndexManager {
export default class ElectronPlatform extends VectorBasePlatform { export default class ElectronPlatform extends VectorBasePlatform {
private eventIndexManager: BaseEventIndexManager = new SeshatIndexManager(); private eventIndexManager: BaseEventIndexManager = new SeshatIndexManager();
private pendingIpcCalls: Record<number, { resolve, reject }> = {}; private pendingIpcCalls: Record<number, { resolve, reject }> = {};
private nextIpcCallId: number = 0; private nextIpcCallId = 0;
// this is the opaque token we pass to the HS which when we get it in our callback we can resolve to a profile // this is the opaque token we pass to the HS which when we get it in our callback we can resolve to a profile
private ssoID: string = randomString(32); private ssoID: string = randomString(32);