diff --git a/Website/src/activitys/ViewModuleActivity.tsx b/Website/src/activitys/ViewModuleActivity.tsx index cab2928a..9b98668e 100644 --- a/Website/src/activitys/ViewModuleActivity.tsx +++ b/Website/src/activitys/ViewModuleActivity.tsx @@ -16,6 +16,7 @@ import Video from "@Components/dapi/Video"; import DiscordWidget from "@Components/dapi/DiscordWidget"; import LinkManager from "@Native/LinkManager"; import Log from "@Builders/Log"; +import PackageManager from "@Native/PackageManager"; interface Props { extra?: any; @@ -219,8 +220,24 @@ class ViewModuleActivity extends React.Component { if (minMagisk != (null || undefined)) { return ( - Min. Magisk - {minMagisk} + + Min. Magisk + + PackageManager.getMagiskVersionCode + ? "red" + : "" + : "", + }} + > + {minMagisk} + ); } else { diff --git a/Website/src/components/ExploreModule.tsx b/Website/src/components/ExploreModule.tsx index 70224952..f3179f69 100644 --- a/Website/src/components/ExploreModule.tsx +++ b/Website/src/components/ExploreModule.tsx @@ -204,20 +204,21 @@ class ExploreModule extends React.Component { }} > {props.name} + + {(() => { + if (isVerified) { + return ( + <> + {" "} + + + ); + } else { + return null; + } + })()} - {(() => { - if (isVerified) { - return ( - <> - {" "} - - - ); - } else { - return null; - } - })()}