This commit is contained in:
		
							parent
							
								
									6895367fad
								
							
						
					
					
						commit
						4c717a0cb7
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -42,7 +42,7 @@ import {
 | 
				
			||||||
import type { Account } from "../accounts/stores";
 | 
					import type { Account } from "../accounts/stores";
 | 
				
			||||||
import "./TootComposer.css";
 | 
					import "./TootComposer.css";
 | 
				
			||||||
import BottomSheet from "~material/BottomSheet";
 | 
					import BottomSheet from "~material/BottomSheet";
 | 
				
			||||||
import { useLanguage } from "~platform/i18n";
 | 
					import { useAppLocale } from "~platform/i18n";
 | 
				
			||||||
import iso639_1 from "iso-639-1";
 | 
					import iso639_1 from "iso-639-1";
 | 
				
			||||||
import ChooseTootLang from "./ChooseTootLang";
 | 
					import ChooseTootLang from "./ChooseTootLang";
 | 
				
			||||||
import type { mastodon } from "masto";
 | 
					import type { mastodon } from "masto";
 | 
				
			||||||
| 
						 | 
					@ -98,7 +98,8 @@ const TootVisibilityPickerDialog: Component<{
 | 
				
			||||||
            style={{
 | 
					            style={{
 | 
				
			||||||
              "border-top": "1px solid #ddd",
 | 
					              "border-top": "1px solid #ddd",
 | 
				
			||||||
              background: "var(--tutu-color-surface)",
 | 
					              background: "var(--tutu-color-surface)",
 | 
				
			||||||
              padding: "8px 16px calc(8px + var(--safe-area-inset-bottom, 0px))",
 | 
					              padding:
 | 
				
			||||||
 | 
					                "8px 16px calc(8px + var(--safe-area-inset-bottom, 0px))",
 | 
				
			||||||
              width: "100%",
 | 
					              width: "100%",
 | 
				
			||||||
              "text-align": "end",
 | 
					              "text-align": "end",
 | 
				
			||||||
            }}
 | 
					            }}
 | 
				
			||||||
| 
						 | 
					@ -232,7 +233,7 @@ const TootComposer: Component<{
 | 
				
			||||||
  const [permPicker, setPermPicker] = createSignal(false);
 | 
					  const [permPicker, setPermPicker] = createSignal(false);
 | 
				
			||||||
  const [language, setLanguage] = createSignal("en");
 | 
					  const [language, setLanguage] = createSignal("en");
 | 
				
			||||||
  const [langPickerOpen, setLangPickerOpen] = createSignal(false);
 | 
					  const [langPickerOpen, setLangPickerOpen] = createSignal(false);
 | 
				
			||||||
  const appLanguage = useLanguage();
 | 
					  const { language: appLanguage } = useAppLocale();
 | 
				
			||||||
  const [openMenu, menuState] = createManagedMenuState();
 | 
					  const [openMenu, menuState] = createManagedMenuState();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const randomPlaceholder = useRandomChoice(() => [
 | 
					  const randomPlaceholder = useRandomChoice(() => [
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue