refactor: remove Android typography fix and associated styles from ClientNonUIFeatures
This commit is contained in:
@@ -35,11 +35,9 @@ import {
|
||||
isTauri,
|
||||
isElectron,
|
||||
isCapacitorNative,
|
||||
applyAndroidTypographyFix,
|
||||
sendNotification,
|
||||
setupNotificationTapListener,
|
||||
} from '../../utils/tauri';
|
||||
import '../../styles/android-typography.css';
|
||||
import { setPaarrotNavigate, initPaarrotAPI } from '../../paarrot-api';
|
||||
import {
|
||||
startBackgroundSync,
|
||||
@@ -86,14 +84,6 @@ function EmojiStyleFeature() {
|
||||
return null;
|
||||
}
|
||||
|
||||
function AndroidTypographyFeature() {
|
||||
useEffect(() => {
|
||||
applyAndroidTypographyFix();
|
||||
}, []);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
function PageZoomFeature() {
|
||||
const [pageZoom] = useSetting(settingsAtom, 'pageZoom');
|
||||
|
||||
@@ -694,7 +684,6 @@ export function ClientNonUIFeatures({ children }: ClientNonUIFeaturesProps) {
|
||||
return (
|
||||
<>
|
||||
<EmojiStyleFeature />
|
||||
<AndroidTypographyFeature />
|
||||
<PageZoomFeature />
|
||||
<FaviconUpdater />
|
||||
<InviteNotifications />
|
||||
|
||||
Reference in New Issue
Block a user