hide staff & mods section from tavern

This commit is contained in:
Phillip Thelen 2018-02-14 18:07:25 +01:00
parent c35610d8c6
commit 268161e798
4 changed files with 5 additions and 3 deletions

View file

@ -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" >

View file

@ -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"

View file

@ -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>

View file

@ -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) {