mirror of
https://github.com/tloncorp/landscape.git
synced 2024-12-11 09:42:51 +03:00
Merge pull request #19 from urbit/dd/typos
copy: fixed appearance and notification typos
This commit is contained in:
commit
099674bcdf
@ -168,7 +168,7 @@ export const Leap = React.forwardRef(
|
||||
case matchSystemPrefs('privacy'):
|
||||
return 'My Urbit: Attention & Privacy';
|
||||
case matchSystemPrefs('appearance'):
|
||||
return 'My Urbit: Apperance';
|
||||
return 'My Urbit: Appearance';
|
||||
case matchSystemPrefs('shortcuts'):
|
||||
return 'My Urbit: Shortcuts';
|
||||
case matchSystemPrefs('interface'):
|
||||
|
@ -11,12 +11,12 @@ interface RadioOptionProps {
|
||||
selected: boolean;
|
||||
}
|
||||
|
||||
interface ApperanceOption {
|
||||
interface AppearanceOption {
|
||||
value: prefType;
|
||||
label: string;
|
||||
}
|
||||
|
||||
const apperanceOptions: ApperanceOption[] = [
|
||||
const appearanceOptions: AppearanceOption[] = [
|
||||
{ value: 'auto', label: 'System Theme' },
|
||||
{ value: 'light', label: 'Light' },
|
||||
{ value: 'dark', label: 'Dark' }
|
||||
@ -57,13 +57,13 @@ export const AppearancePrefs = () => {
|
||||
|
||||
return (
|
||||
<div className="inner-section space-y-8">
|
||||
<h2 className="h4">Landscape Apperance</h2>
|
||||
<h2 className="h4">Landscape Appearance</h2>
|
||||
<RadioGroup.Root
|
||||
className="flex flex-col space-y-3"
|
||||
value={pref}
|
||||
onValueChange={handleChange}
|
||||
>
|
||||
{apperanceOptions.map((option) => (
|
||||
{appearanceOptions.map((option) => (
|
||||
<RadioOption
|
||||
key={`radio-option-${option.value}`}
|
||||
value={option.value}
|
@ -61,7 +61,7 @@ export const NotificationPrefs = () => {
|
||||
{!secure && (
|
||||
<>
|
||||
<strong className="text-orange-500">
|
||||
Unavailable with this browser/connection.
|
||||
{" Unavailable with this browser/connection."}
|
||||
</strong>
|
||||
</>
|
||||
)}
|
||||
|
@ -12,7 +12,7 @@ import { NotificationPrefs } from './NotificationPrefs';
|
||||
import { AboutSystem } from './about-system/AboutSystem';
|
||||
import { InterfacePrefs } from './InterfacePrefs';
|
||||
import { SecurityPrefs } from './SecurityPrefs';
|
||||
import { AppearancePrefs } from './ApperancePrefs';
|
||||
import { AppearancePrefs } from './AppearancePrefs';
|
||||
import { useCharges } from '../state/docket';
|
||||
import { AppPrefs } from './AppPrefs';
|
||||
import { StoragePrefs } from './StoragePrefs';
|
||||
|
Loading…
Reference in New Issue
Block a user