Skip to content

Commit

Permalink
Ktlint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adhiamboperes committed Apr 10, 2024
1 parent b708f88 commit 8aa9320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import android.content.Intent
import android.os.Bundle
import org.oppia.android.app.activity.ActivityComponentImpl
import org.oppia.android.app.activity.InjectableAutoLocalizedAppCompatActivity
import org.oppia.android.app.model.IntroActivityParams
import org.oppia.android.app.model.ScreenName
import org.oppia.android.util.extensions.getProtoExtra
import org.oppia.android.util.extensions.putProtoExtra
import org.oppia.android.util.logging.CurrentAppScreenNameIntentDecorator.decorateWithScreenName
import javax.inject.Inject
import org.oppia.android.app.model.IntroActivityParams

/** The activity for showing the learner welcome screen. */
class IntroActivity : InjectableAutoLocalizedAppCompatActivity() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
package org.oppia.android.app.onboardingv2

import android.content.res.Configuration
import android.content.res.Resources
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import javax.inject.Inject
import org.oppia.android.R
import org.oppia.android.app.translation.AppLanguageResourceHandler
import org.oppia.android.databinding.LearnerIntroFragmentBinding
import javax.inject.Inject

/** The presenter for [IntroFragment]. */
class IntroFragmentPresenter @Inject constructor(
Expand All @@ -20,8 +18,6 @@ class IntroFragmentPresenter @Inject constructor(
) {
private lateinit var binding: LearnerIntroFragmentBinding

private val orientation = Resources.getSystem().configuration.orientation

/** Handle creation and binding of the OnboardingLearnerIntroFragment layout. */
fun handleCreateView(
inflater: LayoutInflater,
Expand Down

0 comments on commit 8aa9320

Please sign in to comment.