Skip to content

Commit

Permalink
Made some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aritra-tech committed Mar 21, 2023
1 parent 87a47d3 commit fb66421
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ android {
applicationId "com.geekymusketeers.uncrack"
minSdk 21
targetSdk 32
versionCode 4
versionName "1.4"
versionCode 5
versionName "1.5"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down Expand Up @@ -88,7 +88,7 @@ dependencies {
implementation 'com.google.firebase:firebase-crashlytics-ktx:18.3.5'
implementation 'com.google.firebase:firebase-analytics-ktx:21.2.0'

// Circular Progress bar
implementation 'com.mikhaellopez:circularprogressbar:3.1.0'


}
10 changes: 6 additions & 4 deletions app/src/main/java/com/geekymusketeers/uncrack/ui/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
package com.geekymusketeers.uncrack.ui

import androidx.appcompat.app.AppCompatActivity

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import com.geekymusketeers.uncrack.R
import com.geekymusketeers.uncrack.databinding.ActivityMainBinding
import com.geekymusketeers.uncrack.ui.fragments.card.CardFragment
import com.geekymusketeers.uncrack.ui.fragments.GeneratePasswordFragment
import com.geekymusketeers.uncrack.ui.fragments.account.HomeFragment
import com.geekymusketeers.uncrack.ui.fragments.SettingsFragment
import com.geekymusketeers.uncrack.ui.fragments.account.HomeFragment
import com.geekymusketeers.uncrack.ui.fragments.card.CardFragment
import com.google.android.material.bottomnavigation.BottomNavigationView


class MainActivity : AppCompatActivity() {

private lateinit var binding: ActivityMainBinding
lateinit var bottomNav: BottomNavigationView


override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
binding = ActivityMainBinding.inflate(layoutInflater)
setContentView(binding.root)
loadFragment(HomeFragment())

//Hides action bar
supportActionBar?.hide()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class HomeFragment : Fragment() {
val colorYellow = ContextCompat.getColor(requireContext(), R.color.yellow)
strengthLevel.setTextColor(colorYellow)
circularProgressBar.progressBarColor = colorYellow
strengthLevel.text = "Medium"
strengthLevel.text = "Fair"
}
in 7..9 -> {
val colorGreen = ContextCompat.getColor(requireContext(), R.color.green)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<string name="v1_4">v1.4</string>
<string name="description_about_the_option">Description about the option</string>
<string-array name="accounts">
<item>Others</item>
<item>PayPal</item>
<item>Instagram</item>
<item>Facebook</item>
Expand All @@ -30,7 +31,6 @@
<item>Amazon Prime</item>
<item>Spotify</item>
<item>Discord</item>
<item>Others</item>
</string-array>
<string-array name="cards">
<item>VISA</item>
Expand Down

0 comments on commit fb66421

Please sign in to comment.