fix: hide account warning after login + improve key storage wording
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { Platform, platformFromString } from "@standardnotes/snjs";
|
||||
|
||||
declare const process : {
|
||||
env: {
|
||||
NODE_ENV: string | null | undefined
|
||||
@@ -26,6 +28,10 @@ export function getPlatformString() {
|
||||
}
|
||||
}
|
||||
|
||||
export function getPlatform(): Platform {
|
||||
return platformFromString(getPlatformString());
|
||||
}
|
||||
|
||||
let sharedDateFormatter: Intl.DateTimeFormat;
|
||||
export function dateToLocalizedString(date: Date) {
|
||||
if (typeof Intl !== 'undefined' && Intl.DateTimeFormat) {
|
||||
|
||||
Reference in New Issue
Block a user