mirror of
https://github.com/standardnotes/mobile.git
synced 2026-02-02 20:11:28 -05:00
chore: lint
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user