aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/features')
-rw-r--r--src/features/messages.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index 02a19b4..241ab5c 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -2149,7 +2149,11 @@ export function messagesFeature(ctx) {
// public data, and Back lands on the app's own front door.
if (urlFeed) {
ui.pubProf = true; ui.chatOpen = true; ui.msgView = 'feed';
+ // hold the frame until the URL's feed is chosen: painted a tick early,
+ // the feed view would open (and fetch) the default feed first
+ ui.pubFeedPending = true;
setTimeout(() => {
+ ui.pubFeedPending = null;
if (openFeedUrl(urlFeed.path, urlFeed.search)) return;
ui.pubProf = null; ui.chatOpen = false; ui.msgView = null; // not a feed we know: the front door
render();
@@ -12829,6 +12833,7 @@ export function messagesFeature(ctx) {
ctx.brandHeader(false),
h('div', { class: 'card row gap6', style: 'justify-content:center;align-items:center;padding:16px' },
h('span', { class: 'spinner sm' }), h('span', { class: 'small faint' }, t('noteRefLoading'))));
+ if (ui.pubFeedPending) return h('div', { class: 'col', style: 'gap:16px' }, ctx.brandHeader(false));
if (ui.pubProfPending) return h('div', { class: 'col', style: 'gap:16px' },
ctx.brandHeader(false),
h('div', { class: 'card col', style: 'gap:12px' },