follow-up
This commit is contained in:
parent
696437c353
commit
a584ca6653
@ -1,4 +1,4 @@
|
|||||||
export function convertInputKeyToKey<T extends string>(inputKey: string) {
|
export default function convertInputKeyToKey<T extends string>(inputKey: string) {
|
||||||
const str = inputKey.replace('input', '');
|
const str = inputKey.replace('input', '');
|
||||||
return (str[0].toLowerCase() + str.slice(1)) as T;
|
return (str[0].toLowerCase() + str.slice(1)) as T;
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ import IS_VIBRATE_SUPPORTED from "../../environment/vibrateSupport";
|
|||||||
import { MUTE_UNTIL } from "../mtproto/mtproto_config";
|
import { MUTE_UNTIL } from "../mtproto/mtproto_config";
|
||||||
import throttle from "../../helpers/schedulers/throttle";
|
import throttle from "../../helpers/schedulers/throttle";
|
||||||
import deepEqual from "../../helpers/object/deepEqual";
|
import deepEqual from "../../helpers/object/deepEqual";
|
||||||
import { convertInputKeyToKey } from "../../helpers/string/convertInputKeyToKey";
|
import convertInputKeyToKey from "../../helpers/string/convertInputKeyToKey";
|
||||||
|
|
||||||
type MyNotification = Notification & {
|
type MyNotification = Notification & {
|
||||||
hidden?: boolean,
|
hidden?: boolean,
|
||||||
|
@ -11,7 +11,7 @@ import appChatsManager from "./appChatsManager";
|
|||||||
import appUsersManager from "./appUsersManager";
|
import appUsersManager from "./appUsersManager";
|
||||||
import apiUpdatesManager from "./apiUpdatesManager";
|
import apiUpdatesManager from "./apiUpdatesManager";
|
||||||
import rootScope from "../rootScope";
|
import rootScope from "../rootScope";
|
||||||
import { convertInputKeyToKey } from "../../helpers/string/convertInputKeyToKey";
|
import convertInputKeyToKey from "../../helpers/string/convertInputKeyToKey";
|
||||||
|
|
||||||
export enum PrivacyType {
|
export enum PrivacyType {
|
||||||
Everybody = 2,
|
Everybody = 2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user