Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Okuro3499 committed Jul 23, 2024
1 parent b861cba commit 3507abf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.viewpager2.adapter.FragmentStateAdapter
import org.ole.planet.myplanet.MainApplication
import org.ole.planet.myplanet.MainApplication.Companion.context
import org.ole.planet.myplanet.R
import org.ole.planet.myplanet.model.RealmMyTeam
import org.ole.planet.myplanet.ui.enterprises.EnterpriseCalendarFragment
Expand All @@ -24,7 +25,6 @@ class TeamPagerAdapter(fm: FragmentActivity, team: RealmMyTeam?, isInMyTeam: Boo
private val teamId: String? = team?._id
private val list: MutableList<String> = ArrayList()
private val isEnterprise: Boolean = TextUtils.equals(team?.type, "enterprise")
private val context = fm

init {
list.add(context.getString(if (isEnterprise) R.string.mission else R.string.plan))
Expand Down

0 comments on commit 3507abf

Please sign in to comment.