Settings / Background: Show error for huge wallpapers (#1335)
This commit is contained in:
parent
0c9fdd1faf
commit
313c3ea5d8
@ -61,6 +61,7 @@ const READABLE_ERROR_MESSAGES: Record<string, string> = {
|
|||||||
CHANNELS_TOO_MUCH: 'You have joined too many channels/supergroups',
|
CHANNELS_TOO_MUCH: 'You have joined too many channels/supergroups',
|
||||||
USER_ALREADY_PARTICIPANT: 'You already in the group',
|
USER_ALREADY_PARTICIPANT: 'You already in the group',
|
||||||
SCHEDULE_DATE_INVALID: 'Invalid schedule date provided',
|
SCHEDULE_DATE_INVALID: 'Invalid schedule date provided',
|
||||||
|
WALLPAPER_DIMENSIONS_INVALID: 'The wallpaper dimensions are invalid, please select another file',
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function getReadableErrorText(error: ApiError) {
|
export default function getReadableErrorText(error: ApiError) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user