Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions common/src/main/res/drawable/ic_tabby_small.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
android:viewportWidth="216"
android:viewportHeight="216">

<path
android:fillColor="#000000"
android:pathData="M179,85.45h-46.98v94.78L82.57,180.24v-55.89c5.41,-8.89 13.82,-17.27 21.03,-18.79 15.29,-3.22 14.48,-18.52 11.27,-19.32 -2.58,-0.64 -3.76,-6.71 -4.02,-9.66 0.64,-10.95 -13.14,-17.98 -20.12,-20.13l1.61,-12.08C77.52,43.08 73.28,51.88 73.01,56.45c-7.42,-0.62 -21.98,16.36 -27.58,29h37.13v0L36,85.45c0.14,-15.25 0.33,-46.48 0,-49.45h143zM82.57,85.45v38.89l-0,0L82.57,85.45z" />
<group
android:scaleX="1.20"
android:scaleY="1.20"
android:translateX="-21.6"
android:translateY="-21.6">
<path
android:fillColor="#000000"
android:pathData="M179,85.45h-46.98v94.78L82.57,180.24v-55.89c5.41,-8.89 13.82,-17.27 21.03,-18.79 15.29,-3.22 14.48,-18.52 11.27,-19.32 -2.58,-0.64 -3.76,-6.71 -4.02,-9.66 0.64,-10.95 -13.14,-17.98 -20.12,-20.13l1.61,-12.08C77.52,43.08 73.28,51.88 73.01,56.45c-7.42,-0.62 -21.98,16.36 -27.58,29h37.13v0L36,85.45c0.14,-15.25 0.33,-46.48 0,-49.45h143zM82.57,85.45v38.89l-0,0L82.57,85.45z" />
</group>

</vector>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import com.github.kr328.clash.glue.util.openLink
import com.github.kr328.clash.home.R
import com.github.kr328.clash.home.vm.HelpViewModel
import com.github.kr328.clash.ui.component.TabbyScaffold
import com.github.kr328.clash.ui.icon.BaselineInfo
import com.github.kr328.clash.ui.icon.BaselineMihomo
import com.github.kr328.clash.ui.icon.BaselineUpdate
import com.github.kr328.clash.ui.icon.OutlineInfo
import com.github.kr328.clash.ui.icon.TabbyIcons
Expand Down Expand Up @@ -136,15 +136,20 @@ private fun HelpContent(
key = "app_version",
title = { Text(stringResource(R.string.app_version)) },
summary = { Text(uiState.appVersion) },
icon = { Icon(imageVector = TabbyIcons.BaselineInfo, contentDescription = null) },
icon = {
Icon(
painter = painterResource(CommonR.drawable.ic_tabby_small),
contentDescription = null,
)
},
)
preference(
key = "kernel_version",
title = { Text(stringResource(R.string.kernel_version)) },
summary = { Text(uiState.coreVersion) },
icon = {
Icon(
painter = painterResource(CommonR.drawable.ic_tabby_small),
imageVector = TabbyIcons.BaselineMihomo,
contentDescription = null,
)
},
Expand Down