Make the clear cache button work on desktop
Implement reload in Platforms to support https://github.com/matrix-org/matrix-react-sdk/pull/798 Fixes https://github.com/vector-im/riot-web/issues/3597
This commit is contained in:
@@ -139,4 +139,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||
requestNotificationPermission() : Promise {
|
||||
return q('granted');
|
||||
}
|
||||
|
||||
reload() {
|
||||
electron.remote.getCurrentWebContents().reload();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user