Skip to content

Commit

Permalink
Refactor: Cleaned up debug colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
CreativeCodeCat committed Nov 29, 2024
1 parent d6bd4d0 commit 43a66c4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"))
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 43a66c4

Please sign in to comment.