Bluesky app fork with some witchin' additions 馃挮 witchsky.app
bluesky fork client
117
fork

Configure Feed

Select the types of activity you want to include in your feed.

at d42a2808ba53a049fc38f559feeddaa5a335f93f 80 lines 3.9 kB view raw
1diff --git a/node_modules/@assembless/react-native-material-you/android/build.gradle b/node_modules/@assembless/react-native-material-you/android/build.gradle 2index d9460ae..10e85c9 100644 3--- a/node_modules/@assembless/react-native-material-you/android/build.gradle 4+++ b/node_modules/@assembless/react-native-material-you/android/build.gradle 5@@ -22,12 +22,12 @@ apply plugin: 'com.android.library' 6 apply plugin: 'kotlin-android' 7 8 android { 9- compileSdkVersion 32 10+ compileSdkVersion 35 11 // buildToolsVersion safeExtGet('buildToolsVersion', '30.0.3') 12 13 defaultConfig { 14 minSdkVersion safeExtGet('minSdkVersion', "23") 15- targetSdkVersion safeExtGet('targetSdkVersion', "32") 16+ targetSdkVersion safeExtGet('targetSdkVersion', "35") 17 } 18 } 19 20diff --git a/node_modules/@assembless/react-native-material-you/android/src/main/java/com/assembless/reactnativematerialyou/RNMaterialYouModule.kt b/node_modules/@assembless/react-native-material-you/android/src/main/java/com/assembless/reactnativematerialyou/RNMaterialYouModule.kt 21index 2d4cbf9..d868561 100644 22--- a/node_modules/@assembless/react-native-material-you/android/src/main/java/com/assembless/reactnativematerialyou/RNMaterialYouModule.kt 23+++ b/node_modules/@assembless/react-native-material-you/android/src/main/java/com/assembless/reactnativematerialyou/RNMaterialYouModule.kt 24@@ -132,6 +132,26 @@ class RNMaterialYouModule(val reactContext: ReactApplicationContext) : ReactCont 25 colorMap.putArray("system_neutral1", system_neutral1); 26 colorMap.putArray("system_neutral2", system_neutral2); 27 28+ if (android.os.Build.VERSION.SDK_INT >= 35) { 29+ val system_error: WritableArray? = toWritableArray(arrayOf( 30+ R.color.system_error_0, 31+ R.color.system_error_10, 32+ R.color.system_error_50, 33+ R.color.system_error_100, 34+ R.color.system_error_200, 35+ R.color.system_error_300, 36+ R.color.system_error_400, 37+ R.color.system_error_500, 38+ R.color.system_error_600, 39+ R.color.system_error_700, 40+ R.color.system_error_800, 41+ R.color.system_error_900, 42+ R.color.system_error_1000 43+ ).map { colorToHex(it) }); 44+ 45+ colorMap.putArray("system_error", system_error); 46+ } 47+ 48 return colorMap; 49 } 50 51diff --git a/node_modules/@assembless/react-native-material-you/lib/types.d.ts b/node_modules/@assembless/react-native-material-you/lib/types.d.ts 52index 91d097f..e234851 100644 53--- a/node_modules/@assembless/react-native-material-you/lib/types.d.ts 54+++ b/node_modules/@assembless/react-native-material-you/lib/types.d.ts 55@@ -19,4 +19,9 @@ export declare type MaterialYouPalette = { 56 * Android API: [system_neutral2](https://developer.android.com/reference/android/R.color#system_neutral2_0) 57 */ 58 system_neutral2: string[]; 59+ /** 60+ * Android API: [system_error](https://developer.android.com/reference/android/R.color#system_error_0) 61+ * Only available on Android 14+ / API level 35+ 62+ */ 63+ system_error?: string[]; 64 }; 65diff --git a/node_modules/@assembless/react-native-material-you/src/types.ts b/node_modules/@assembless/react-native-material-you/src/types.ts 66index 6f7ad57..f3273c6 100644 67--- a/node_modules/@assembless/react-native-material-you/src/types.ts 68+++ b/node_modules/@assembless/react-native-material-you/src/types.ts 69@@ -18,5 +18,10 @@ export type MaterialYouPalette = { 70 /** 71 * Android API: [system_neutral2](https://developer.android.com/reference/android/R.color#system_neutral2_0) 72 */ 73- system_neutral2: string[] 74+ system_neutral2: string[], 75+ /** 76+ * Android API: [system_error](https://developer.android.com/reference/android/R.color#system_error_0) 77+ * Only available on Android 14+ / API level 35+ 78+ */ 79+ system_error?: string[] 80 }