mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 13:48:55 +00:00
hide staff & mods section from tavern
This commit is contained in:
parent
c35610d8c6
commit
268161e798
4 changed files with 5 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.habitrpg.android.habitica"
|
||||
android:versionCode="1966"
|
||||
android:versionCode="1967"
|
||||
android:versionName="1.4"
|
||||
android:screenOrientation="portrait"
|
||||
android:installLocation="auto" >
|
||||
|
|
|
|||
|
|
@ -89,7 +89,8 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:title="@string/staff_moderators"
|
||||
app:identifier="tavernModerators">
|
||||
app:identifier="tavernModerators"
|
||||
android:visibility="gone">
|
||||
</com.habitrpg.android.habitica.ui.views.CollapsibleSectionView>
|
||||
<com.habitrpg.android.habitica.ui.views.CollapsibleSectionView
|
||||
android:id="@+id/playerTiersView"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<string name="SP_APIToken" translatable="false">APIToken</string>
|
||||
<string name="SP_username" translatable="false">Username</string>
|
||||
<string name="SP_email" translatable="false">E-mail</string>
|
||||
<string name="base_url" translatable="false">https://habitrpg-delta.herokuapp.com</string>
|
||||
<string name="base_url" translatable="false">https://habitica.com</string>
|
||||
|
||||
<!-- Local notification actions -->
|
||||
<string name="accept_party_invite" translatable="false">ACCEPT_PARTY_INVITE</string>
|
||||
|
|
|
|||
|
|
@ -193,6 +193,7 @@ class TavernDetailFragment : BaseFragment() {
|
|||
val padding = context?.resources?.getDimension(R.dimen.spacing_medium)?.toInt() ?: 0
|
||||
container.setPadding(0, padding, 0, padding)
|
||||
}
|
||||
playerTiersView.invalidate()
|
||||
}
|
||||
|
||||
override fun injectFragment(component: AppComponent) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue