Skip to content

Commit

Permalink
fix: padding somewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush2622 committed Jan 3, 2025
1 parent f6d05ec commit 1bb5f4d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
1 change: 0 additions & 1 deletion app/src/main/java/ani/dantotsu/home/HomeFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ import ani.dantotsu.settings.saving.PrefName
import ani.dantotsu.snackString
import ani.dantotsu.statusBarHeight
import ani.dantotsu.util.Logger
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.async
import kotlinx.coroutines.launch
Expand Down
3 changes: 0 additions & 3 deletions app/src/main/java/ani/dantotsu/home/LoginFragment.kt
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package ani.dantotsu.home

import android.app.AlertDialog
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.activity.result.contract.ActivityResultContracts
import androidx.documentfile.provider.DocumentFile
import androidx.fragment.app.Fragment
Expand All @@ -20,7 +18,6 @@ import ani.dantotsu.settings.saving.internal.PreferencePackager
import ani.dantotsu.toast
import ani.dantotsu.util.Logger
import ani.dantotsu.util.customAlertDialog
import com.google.android.material.textfield.TextInputEditText

class LoginFragment : Fragment() {

Expand Down
5 changes: 2 additions & 3 deletions app/src/main/java/ani/dantotsu/home/status/StatusActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ import androidx.core.view.updateLayoutParams
import ani.dantotsu.R
import ani.dantotsu.connections.anilist.api.Activity
import ani.dantotsu.databinding.ActivityStatusBinding
import ani.dantotsu.initActivity
import ani.dantotsu.themes.ThemeManager
import ani.dantotsu.home.status.listener.StoriesCallback
import ani.dantotsu.initActivity
import ani.dantotsu.navBarHeight
import ani.dantotsu.profile.User
import ani.dantotsu.settings.saving.PrefManager
import ani.dantotsu.statusBarHeight
import ani.dantotsu.toast
import ani.dantotsu.themes.ThemeManager
import ani.dantotsu.util.Logger

class StatusActivity : AppCompatActivity(), StoriesCallback {
Expand Down
1 change: 0 additions & 1 deletion app/src/main/java/ani/dantotsu/util/StoragePermissions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import android.net.Uri
import android.os.Build
import androidx.activity.result.ActivityResultLauncher
import androidx.activity.result.contract.ActivityResultContracts
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.ActivityCompat
import androidx.core.content.ContextCompat
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_character.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:paddingStart="12dp"
android:paddingEnd="12dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior">

<TextView
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/res/layout/bottom_sheet_search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
android:orientation="vertical"
android:padding="16dp">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/search"
android:fontFamily="@font/poppins_bold"
android:textSize="17sp"
android:gravity="center"/>

<Button
android:id="@+id/animeSearch"
style="@style/Widget.Material3.Button.TextButton"
Expand Down

0 comments on commit 1bb5f4d

Please sign in to comment.