Skip to content

Commit

Permalink
disables night mode
Browse files Browse the repository at this point in the history
  • Loading branch information
artwist-polyakov committed Feb 18, 2024
1 parent 3cfd2fe commit 2efb34f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import androidx.navigation.NavController
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import app.cashadvisor.R
import app.cashadvisor.authorization.data.dto.CredentialsDto
import app.cashadvisor.authorization.domain.api.CredentialsRepository
import app.cashadvisor.databinding.ActivityMainBinding
import com.google.firebase.crashlytics.FirebaseCrashlytics
Expand All @@ -36,7 +35,6 @@ class MainActivity : AppCompatActivity() {

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)

Timber.tag("MainActivity").d("Debug log")
Timber.tag("MainActivity").i("Info log")
Timber.tag("MainActivity").w("Warning log")
Expand Down
2 changes: 1 addition & 1 deletion uikit/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Base.Theme.CashAdvisor" parent="Theme.Material3.DayNight.NoActionBar">
<style name="Base.Theme.CashAdvisor" parent="Theme.Material3.Light.NoActionBar">
<!-- Customize your dark theme here. -->
<!-- <item name="colorPrimary">@color/my_dark_primary</item> -->
</style>
Expand Down
2 changes: 1 addition & 1 deletion uikit/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources>
<!-- Base application theme. -->
<style name="Base.Theme.CashAdvisor" parent="Theme.Material3.DayNight.NoActionBar">
<style name="Base.Theme.CashAdvisor" parent="Theme.Material3.Light.NoActionBar">
<!-- Customize your light theme here. -->
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
</style>
Expand Down

0 comments on commit 2efb34f

Please sign in to comment.