chore: lint

This commit is contained in:
Mo Bitar
2021-11-14 14:38:01 -06:00
parent 7c31c145d9
commit 0937348514
4 changed files with 10 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
import { ICON_LOCK, ICON_ALERT } from '@Style/icons';
import { ICON_ALERT, ICON_LOCK } from '@Style/icons';
import { ThemeService } from '@Style/theme_service';
import { SafeAreaView } from 'react-native-safe-area-context';
import Icon from 'react-native-vector-icons/Ionicons';

View File

@@ -9,8 +9,9 @@ import { Platform, Share } from 'react-native';
import { ContentContainer, Label } from './CompanySection.styled';
const URLS = {
feedback: `mailto:help@standardnotes.com?subject=${Platform.OS === 'android' ? 'Android' : 'iOS'
} app feedback (v${ApplicationState.version})`,
feedback: `mailto:help@standardnotes.com?subject=${
Platform.OS === 'android' ? 'Android' : 'iOS'
} app feedback (v${ApplicationState.version})`,
learn_more: 'https://standardnotes.com',
privacy: 'https://standardnotes.com/privacy',
help: 'https://standardnotes.com/help',

View File

@@ -262,11 +262,11 @@ export const MainSideMenu = React.memo(({ drawerRef }: Props) => {
const outOfSyncPressed = async () => {
const confirmed = await application!.alertService!.confirm(
"We've detected that the data in the current application session may " +
'not match the data on the server. This can happen due to poor' +
'network conditions, or if a large note fails to download on your ' +
'device. To resolve this issue, we recommend first creating a backup ' +
'of your data in the Settings screen, then signing out of your account ' +
'and signing back in.',
'not match the data on the server. This can happen due to poor' +
'network conditions, or if a large note fails to download on your ' +
'device. To resolve this issue, we recommend first creating a backup ' +
'of your data in the Settings screen, then signing out of your account ' +
'and signing back in.',
'Potentially Out of Sync',
'Open Settings',
undefined

View File

@@ -435,7 +435,7 @@ export class ThemeService {
return new Promise(async resolve => {
try {
const response = await fetch(url, {
const response = await fetch(url!, {
method: 'GET',
});
const data = await response.text();