-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into halo/base
* origin/main: (39 commits) [Clipclops] Separate messages if there's a time gap (#3777) [Clipclops] Header for chat (#3775) [Clipclops] adjust scroll position, keyboard color (#3771) [Clipclops] Add clop sent time to clipclop (#3772) [Clipclops] Use API data for clipclop list (#3769) [Clipclops] New clipclop dialog (#3750) Session fixes, pt. 1 (#3762) use keyboardDismissMode rather than onScrollBeginDrag (#3767) [Clipclops] Add screen to view and send clip clops (#3754) switch branch for installing `react-native-bottom-sheet` (#3760) Fix List onMomentumScrollEnd (#3759) Release 1.80 (#3757) Update zh-TW translations (#3678) Italian localization (#3684) Update catalan messages.po (#3697) Update Korean localization (#3698) Update Japanese translation (#3734) Update zh-CN translations (#3716) Send Bluesky feeds and suggested follows more data (#3695) android: fix various places still using default Material Teal (#3555) ...
- Loading branch information
Showing
117 changed files
with
14,085 additions
and
10,653 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
assets/icons/settingsSliderVertical_stroke2_corner0_rounded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
diff --git a/node_modules/@atproto/lexicon/dist/validators/complex.js b/node_modules/@atproto/lexicon/dist/validators/complex.js | ||
index 32d7798..9d688b7 100644 | ||
--- a/node_modules/@atproto/lexicon/dist/validators/complex.js | ||
+++ b/node_modules/@atproto/lexicon/dist/validators/complex.js | ||
@@ -113,7 +113,22 @@ function object(lexicons, path, def, value) { | ||
if (value[key] === null && nullableProps.has(key)) { | ||
continue; | ||
} | ||
- const propDef = def.properties[key]; | ||
+ const propDef = def.properties[key] | ||
+ if (typeof value[key] === 'undefined' && !requiredProps.has(key)) { | ||
+ // Fast path for non-required undefined props. | ||
+ if ( | ||
+ propDef.type === 'integer' || | ||
+ propDef.type === 'boolean' || | ||
+ propDef.type === 'string' | ||
+ ) { | ||
+ if (typeof propDef.default === 'undefined') { | ||
+ continue | ||
+ } | ||
+ } else { | ||
+ // Other types have no defaults. | ||
+ continue | ||
+ } | ||
+ } | ||
const propPath = `${path}/${key}`; | ||
const validated = (0, util_1.validateOneOf)(lexicons, propPath, propDef, value[key]); | ||
const propValue = validated.success ? validated.value : value[key]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* @file Set accent color to primaryColor from app.config.js. | ||
* This way we get a sane default color for spinners, text inputs, etc. | ||
*/ | ||
|
||
const {withAndroidStyles, AndroidConfig} = require('@expo/config-plugins') | ||
|
||
module.exports = function withAndroidStylesAccentColorPlugin(appConfig) { | ||
return withAndroidStyles(appConfig, function (decoratedAppConfig) { | ||
try { | ||
decoratedAppConfig.modResults = AndroidConfig.Styles.assignStylesValue( | ||
decoratedAppConfig.modResults, | ||
{ | ||
add: true, | ||
parent: AndroidConfig.Styles.getAppThemeLightNoActionBarGroup(), | ||
name: 'colorAccent', | ||
value: '@color/colorPrimary', | ||
}, | ||
) | ||
} catch (e) { | ||
console.error(`withAndroidStylesAccentColorPlugin failed`, e) | ||
} | ||
return decoratedAppConfig | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.