File tree 2 files changed +17
-2
lines changed
src/components/views/room_settings
test/unit-tests/components/views/room_settings/__snapshots__ 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Please see LICENSE files in the repository root for full details.
11
11
12
12
import React , { ReactNode , JSX } from "react" ;
13
13
import { Room } from "matrix-js-sdk/src/matrix" ;
14
+ import { InlineSpinner } from "@vector-im/compound-web" ;
14
15
15
16
import { _t } from "../../../languageHandler" ;
16
17
import SettingsStore from "../../../settings/SettingsStore" ;
@@ -46,7 +47,7 @@ export function UrlPreviewSettings({ room }: UrlPreviewSettingsProps): JSX.Eleme
46
47
description = { ! isLoading && < Description isEncrypted = { isEncrypted } /> }
47
48
>
48
49
{ isLoading ? (
49
- _t ( "common|loading" )
50
+ < InlineSpinner />
50
51
) : (
51
52
< >
52
53
< PreviewsForRoom isEncrypted = { isEncrypted } roomId = { roomId } />
Original file line number Diff line number Diff line change @@ -215,7 +215,21 @@ exports[`UrlPreviewSettings should display the correct preview when the setting
215
215
<div
216
216
class = " mx_SettingsFieldset_content"
217
217
>
218
- Loading…
218
+ <svg
219
+ class = " _icon_1ye7b_27"
220
+ fill = " currentColor"
221
+ height = " 1em"
222
+ style = " width: 20px; height: 20px;"
223
+ viewBox = " 0 0 24 24"
224
+ width = " 1em"
225
+ xmlns = " http://www.w3.org/2000/svg"
226
+ >
227
+ <path
228
+ clip-rule = " evenodd"
229
+ d = " M12 4.031a8 8 0 1 0 8 8 1 1 0 0 1 2 0c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10a1 1 0 1 1 0 2Z"
230
+ fill-rule = " evenodd"
231
+ />
232
+ </svg >
219
233
</div >
220
234
</fieldset >
221
235
</DocumentFragment >
You can’t perform that action at this time.
0 commit comments