Skip to content

Commit f1c23e0

Browse files
committed
Bump app to 1.3.0 and add precision drawable
Increment versionCode to 3 and versionName to 1.3.0 for the new release. Add a new vector drawable (precision.xml) and update OptionsActivity to use R.drawable.precision for the High Precision option instead of the generic settings icon.
1 parent 6626d7d commit f1c23e0

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ android {
1313
applicationId = "io.github.iso53.nothingcompass"
1414
minSdk = 27
1515
targetSdk = 36
16-
versionCode = 2
17-
versionName = "1.2.0"
16+
versionCode = 3
17+
versionName = "1.3.0"
1818

1919
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2020
}

app/src/main/java/io/github/iso53/nothingcompass/OptionsActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private void setupRecyclerView() {
7070
items.add(new OptionItem(getString(R.string.item_haptic_feedback), null,
7171
R.drawable.ic_vibration, v -> showHapticFeedbackSelectionDialog()));
7272
items.add(new OptionItem(getString(R.string.item_high_precision), null,
73-
R.drawable.ic_settings, v -> showHighPrecisionSelectionDialog()));
73+
R.drawable.precision, v -> showHighPrecisionSelectionDialog()));
7474
items.add(new OptionItem(getString(R.string.item_north_reference), null,
7575
R.drawable.ic_compass, v -> showNorthReferenceSelectionDialog()));
7676

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="960"
5+
android:viewportHeight="960"
6+
android:tint="?attr/colorControlNormal">
7+
<path
8+
android:fillColor="@android:color/white"
9+
android:pathData="M200,840Q167,840 143.5,816.5Q120,793 120,760L120,600L200,600L200,760Q200,760 200,760Q200,760 200,760L360,760L360,840L200,840ZM600,840L600,760L760,760Q760,760 760,760Q760,760 760,760L760,600L840,600L840,760Q840,793 816.5,816.5Q793,840 760,840L600,840ZM120,360L120,200Q120,167 143.5,143.5Q167,120 200,120L360,120L360,200L200,200Q200,200 200,200Q200,200 200,200L200,360L120,360ZM760,360L760,200Q760,200 760,200Q760,200 760,200L600,200L600,120L760,120Q793,120 816.5,143.5Q840,167 840,200L840,360L760,360ZM338.5,621.5Q280,563 280,480Q280,397 338.5,338.5Q397,280 480,280Q563,280 621.5,338.5Q680,397 680,480Q680,563 621.5,621.5Q563,680 480,680Q397,680 338.5,621.5ZM565,565Q600,530 600,480Q600,430 565,395Q530,360 480,360Q430,360 395,395Q360,430 360,480Q360,530 395,565Q430,600 480,600Q530,600 565,565ZM480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Z"/>
10+
</vector>

0 commit comments

Comments
 (0)