Skip to content

Commit

Permalink
Merge pull request #51 from bramborman/minor-improvements
Browse files Browse the repository at this point in the history
Minor improvements
  • Loading branch information
pcolby authored Sep 3, 2024
2 parents d68d08d + bd9f793 commit 7136dde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
tools:targetApi="31">
tools:targetApi="34">

<activity
android:name=".NfcTilePreferencesActivity"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class NfcTileService : TileService() {
*/
private fun updateTile(adapter: NfcAdapter? = NfcAdapter.getDefaultAdapter(this)) {
adapter?.apply { updateTile(isEnabled) } ?: updateTile(
Tile.STATE_INACTIVE,
Tile.STATE_UNAVAILABLE,
string.tile_subtitle_unavailable
)
}
Expand Down

0 comments on commit 7136dde

Please sign in to comment.