Refactor: Cleaned up debug colors.

This commit is contained in:
HeCodes2Much
2024-11-29 18:42:42 +00:00
parent d6bd4d005c
commit 43a66c40ca
4 changed files with 3 additions and 8 deletions

View File

@@ -19,8 +19,8 @@ android {
applicationId = "app.easy.launcher"
minSdk = 24
targetSdk = 35
versionCode = 31
versionName = "0.3.1"
versionCode = 30
versionName = "0.3.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
manifestPlaceholders["internetPermission"] = "android.permission.INTERNET"

View File

@@ -6,7 +6,6 @@ import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.content.pm.PackageManager
import android.graphics.Color
import android.os.BatteryManager
import android.os.Build
import android.os.Bundle
@@ -250,9 +249,6 @@ class HomeFragment : Fragment(),
clock.setOnClickListener { context.launchClock() }
date.setOnClickListener { context.launchCalendar() }
battery.setOnClickListener { context.openBatteryManager() }
touchArea.setBackgroundColor(Color.parseColor("#00FFFF"))
appListTouchArea.setBackgroundColor(Color.parseColor("#FF00FF"))
}
}

View File

@@ -2,7 +2,6 @@ package com.github.droidworksstudio.launcher.ui.home
import android.annotation.SuppressLint
import android.content.pm.PackageManager
import android.graphics.Color
import android.graphics.drawable.Drawable
import android.view.Gravity
import android.view.View
@@ -28,7 +27,6 @@ class HomeViewHolder @Inject constructor(
@SuppressLint("ClickableViewAccessibility")
fun bind(appInfo: AppInfo) {
binding.apply {
itemView.setBackgroundColor(Color.parseColor("#0000FF"))
// Get the current LayoutParams of appHiddenName
val layoutAppNameParams = appHomeName.layoutParams as LinearLayoutCompat.LayoutParams

View File

@@ -126,6 +126,7 @@ class SettingsFeaturesFragment : Fragment(),
automaticKeyboardSwitchCompat.isChecked = preferenceHelper.automaticKeyboard
automaticOpenAppSwitchCompat.isChecked = preferenceHelper.automaticOpenApp
searchFromStartSwitchCompat.isChecked = preferenceHelper.searchFromStart
homeAlignmentBottomSwitchCompat.isChecked = preferenceHelper.homeAlignmentBottom
lockSettingsSwitchCompat.isChecked = preferenceHelper.settingsLock
disableAnimationsSwitchCompat.isChecked = preferenceHelper.disableAnimations
}