Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat: add OMP (Oh My Pi) provider driver + Z.AI GLM docs #8583

ClosedFelipeMayerDev(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/8583/headopened View on GitHub

Showing 24 changed files with 187 additions and 1 deletion (loading 22).

x
0 of 24 viewed, 24 left
24 additions and 1 deletionapps/mobile/src/components/ProviderIcon.tsxModified
View file
@@ -1,4 +1,4 @@
-import { Path, Svg } from "react-native-svg";
+import { Path, Rect, Svg } from "react-native-svg";
import { useAppearancePreferences } from "../features/settings/appearance/AppearancePreferencesProvider";
​
type ProviderIconProps = {
@@ -59,6 +59,29 @@
);
​
+ if (props.provider === "omp") {
+ const stroke = isDarkMode ? "#F5F5F5" : "#171717";
+ return (
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
+ <Rect
+ x="2.75"
+ y="2.75"
+ width="18.5"
+ height="18.5"
+ rx="4.5"
+ stroke={stroke}
+ strokeWidth="1.5"
+ />
+ <Path
+ d="M6.5 8.25h11M9.25 8.25V13.5a2.75 2.75 0 0 1-2.75 2.75M14.75 8.25v8"
+ stroke={stroke}
+ strokeWidth="1.5"
+ strokeLinecap="round"
+ />
+ </Svg>