Toast improvements (#4584)

* Change default toast placement
* Position at bottom on mobile
* Show single toast message at a time
* Optionally show dialog for error messages
* Fix circular dependency
* Animate toast
This commit is contained in:
WithoutPants
2024-02-19 10:22:34 +11:00
committed by GitHub
parent 6fb1c41ae9
commit 6e9718a600
18 changed files with 260 additions and 146 deletions

View File

@@ -4,7 +4,7 @@ import { FormattedMessage } from "react-intl";
import { Link } from "react-router-dom";
import { Setting } from "./Inputs";
import { SettingSection } from "./SettingSection";
import { PatchContainerComponent } from "src/pluginApi";
import { PatchContainerComponent } from "src/patch";
const SettingsToolsSection = PatchContainerComponent("SettingsToolsSection");