Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Nov 14, 2021
1 parent 7c31c14 commit 0937348
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/screens/Compose/ComponentView.styled.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
5 changes: 3 additions & 2 deletions src/screens/Settings/Sections/CompanySection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
10 changes: 5 additions & 5 deletions src/screens/SideMenu/MainSideMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/style/theme_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 0937348

Please sign in to comment.