Skip to content

Commit

Permalink
Android API 34 + Explorer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
koh-gt committed Sep 20, 2024
1 parent c307fd9 commit f2d4517
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions wallet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ android {

defaultConfig {
minSdkVersion 19
targetSdkVersion 33
targetSdkVersion 34
applicationId 'de.schildbach.wallet'
generatedDensities = ['hdpi', 'xhdpi']
ndkVersion "23.1.7779620"
Expand Down Expand Up @@ -98,8 +98,8 @@ android {
}
}
defaultConfig {
versionCode 30105
versionName "3.1.5"
versionCode 30106
versionName "3.1.6"
vectorDrawables.useSupportLibrary = true

// Enabling multidex support.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public boolean onActionItemClicked(final ActionMode mode, final MenuItem item) {
final Uri blockExplorerUri = application.getConfiguration().getBlockExplorer();
log.info("Viewing address {} on {}", address, blockExplorerUri);
startActivity(new Intent(Intent.ACTION_VIEW,
Uri.withAppendedPath(blockExplorerUri, "address.dws?" + address)));
Uri.withAppendedPath(blockExplorerUri, "address/" + address)));
mode.finish();
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public boolean onMenuItemClick(final MenuItem item) {
final Uri blockExplorerUri = config.getBlockExplorer();
log.info("Viewing block {} on {}", blockHash, blockExplorerUri);
startActivity(new Intent(Intent.ACTION_VIEW,
Uri.withAppendedPath(blockExplorerUri, "block.dws?" + blockHash)));
Uri.withAppendedPath(blockExplorerUri, "block/" + blockHash)));
return true;
}
return false;
Expand Down

0 comments on commit f2d4517

Please sign in to comment.