mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	Pass renderMfm as true to wrap welcome back toast in Mfm
This commit is contained in:
		
							parent
							
								
									ce197bc2e6
								
							
						
					
					
						commit
						e7b87c0269
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -94,7 +94,7 @@ export async function mainBoot() {
 | 
				
			||||||
					}).render();
 | 
										}).render();
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}	
 | 
							}
 | 
				
			||||||
	} catch (error) {
 | 
						} catch (error) {
 | 
				
			||||||
		// console.error(error);
 | 
							// console.error(error);
 | 
				
			||||||
		console.error('Failed to initialise the seasonal screen effect canvas context:', error);
 | 
							console.error('Failed to initialise the seasonal screen effect canvas context:', error);
 | 
				
			||||||
| 
						 | 
					@ -224,7 +224,7 @@ export async function mainBoot() {
 | 
				
			||||||
			if (Date.now() - lastUsedDate > 1000 * 60 * 60 * 2) {
 | 
								if (Date.now() - lastUsedDate > 1000 * 60 * 60 * 2) {
 | 
				
			||||||
				toast(i18n.tsx.welcomeBackWithName({
 | 
									toast(i18n.tsx.welcomeBackWithName({
 | 
				
			||||||
					name: $i.name || $i.username,
 | 
										name: $i.name || $i.username,
 | 
				
			||||||
				}));
 | 
									}), true);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		miLocalStorage.setItem('lastUsed', Date.now().toString());
 | 
							miLocalStorage.setItem('lastUsed', Date.now().toString());
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue