Skip to content

Commit

Permalink
Add dark mode support
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoukolate committed May 19, 2020
1 parent ba50110 commit d7a3266
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "org.dynamicsoft.switchmyslot"
minSdkVersion 24
targetSdkVersion 29
versionCode 1
versionName "1.0"
versionCode 3
versionName "0.3"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -31,7 +31,7 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])

implementation 'androidx.appcompat:appcompat:1.1.0'
testImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<resources>
<string name="app_name">Switch My Slot</string>
<string name="hal_version">HAL Version:</string>
<string name="app_version">App Version: v0.2</string>
<string name="app_version">App Version: v0.3</string>
<string name="number_of_slots">Number of slots:</string>
<string name="current_slot_suffix">Current slot suffix:</string>
<string name="switch_slot_and_reboot">Switch slot and reboot:</string>
Expand Down
4 changes: 1 addition & 3 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<style name="AppTheme" parent="Theme.AppCompat.DayNight.DarkActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
Expand Down

0 comments on commit d7a3266

Please sign in to comment.