mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(app): shrink stored favorite gifs and raise their budget (#2643)
This commit is contained in:
1 parent
5fea319f4e
commit
905af5dd5a
13 files changed
+191
-215
No files matched your search
@@ -11,7 +11,7 @@ export type {SyncedPreferences} from '@fluxer/schema/src/gen/fluxer/user/prefere
|
||||
export {SyncedPreferencesSchema} from '@fluxer/schema/src/gen/fluxer/user/preferences/v1/preferences_pb';
|
||||
|
||||
export const EMPTY_SYNCED_PREFERENCES_ENCODED = '';
|
||||
export const SYNCED_PREFERENCES_MAX_BYTES = 256 * 1024;
|
||||
export const SYNCED_PREFERENCES_MAX_BYTES = 512 * 1024;
|
||||
export const SYNCED_PREFERENCES_MAX_ENCODED_LENGTH = Math.ceil(SYNCED_PREFERENCES_MAX_BYTES / 3) * 4;
|
||||
const BASE64_PATTERN = /^[A-Za-z0-9+/_-]*={0,2}$/;
|
||||
|
||||
|
||||
Reference in new issue
Block a user