Make mention link prefs ui more intuitive

This commit is contained in:
Tusooa Zhu 2022-01-10 02:53:27 -05:00
parent 0c60b31eee
commit c8983d5606
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224

View File

@ -147,11 +147,6 @@
{{ $t('settings.greentext') }} {{ $t('settings.greentext') }}
</BooleanSetting> </BooleanSetting>
</li> </li>
<li>
<BooleanSetting path="useAtIcon">
{{ $t('settings.use_at_icon') }}
</BooleanSetting>
</li>
<li> <li>
<ChoiceSetting <ChoiceSetting
id="mentionLinkDisplay" id="mentionLinkDisplay"
@ -162,15 +157,20 @@
</ChoiceSetting> </ChoiceSetting>
</li> </li>
<ul <ul
v-if="mentionLinkDisplay === 'short'"
class="setting-list suboptions" class="setting-list suboptions"
> >
<li> <li
v-if="mentionLinkDisplay === 'short'"
>
<BooleanSetting path="mentionLinkShowTooltip"> <BooleanSetting path="mentionLinkShowTooltip">
{{ $t('settings.mention_link_show_tooltip') }} {{ $t('settings.mention_link_show_tooltip') }}
</BooleanSetting> </BooleanSetting>
</li> </li>
</ul> <li>
<BooleanSetting path="useAtIcon">
{{ $t('settings.use_at_icon') }}
</BooleanSetting>
</li>
<li> <li>
<BooleanSetting path="mentionLinkShowAvatar"> <BooleanSetting path="mentionLinkShowAvatar">
{{ $t('settings.mention_link_show_avatar') }} {{ $t('settings.mention_link_show_avatar') }}
@ -182,6 +182,7 @@
</BooleanSetting> </BooleanSetting>
</li> </li>
</ul> </ul>
</ul>
</div> </div>
<div class="setting-item"> <div class="setting-item">