TTP -> MTP, A lot of other stuff #21

Merged
alois merged 81 commits from dev into main 2026-07-21 11:57:33 +03:00
3 changed files with 26 additions and 28 deletions
Showing only changes of commit d176de6cb1 - Show all commits

(qol): run format
Some checks failed
/ build-desktop (linux) (push) Failing after 1m35s
/ build-web (push) Failing after 1m46s
/ build-mobile (push) Failing after 5m39s
/ release (push) Has been skipped

Alois 2026-06-28 18:47:14 +02:00

View file

@ -137,28 +137,30 @@ function ThemeStorageBridge() {
load("theme_tint"),
load("theme_border_radius"),
load("theme_custom_css"),
]).then(([
color,
palette,
primaryColor,
polarity,
tint,
borderRadius,
customCss,
]) => {
if (!active) {
return;
}
]).then(
([
color,
palette,
primaryColor,
polarity,
tint,
borderRadius,
customCss,
]) => {
if (!active) {
return;
}
setThemeColor(color);
setThemePalette(palette);
setThemePrimaryColor(primaryColor);
setThemePolarity(polarity);
setThemeTint(tint);
setThemeBorderRadius(borderRadius);
setThemeCustomCss(customCss);
loadedRef.current = true;
});
setThemeColor(color);
setThemePalette(palette);
setThemePrimaryColor(primaryColor);
setThemePolarity(polarity);
setThemeTint(tint);
setThemeBorderRadius(borderRadius);
setThemeCustomCss(customCss);
loadedRef.current = true;
},
);
return () => {
active = false;

View file

@ -132,11 +132,7 @@ export default function Screen() {
fetchNextPageRef.current = () => {
void fetchMessagesNextPage();
};
}, [
fetchMessagesNextPage,
hasMessagesNextPage,
isFetchingMessagesNextPage,
]);
}, [fetchMessagesNextPage, hasMessagesNextPage, isFetchingMessagesNextPage]);
React.useEffect(() => {
clearLiveMessages();