prepare v0.3.2

This commit is contained in:
akaessens 2020-08-31 14:45:13 +02:00
parent ba2ec36666
commit bb1e7579d8
6 changed files with 18 additions and 7 deletions

View File

@ -8,8 +8,8 @@ android {
applicationId "com.akdev.nofbeventscraper" applicationId "com.akdev.nofbeventscraper"
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 29 targetSdkVersion 29
versionCode 7 versionCode 8
versionName "0.3.1" versionName "0.3.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }

View File

@ -110,13 +110,19 @@ public class MainActivity extends AppCompatActivity {
@Override @Override
public void onClick(View view) { public void onClick(View view) {
try {
ClipboardManager clipboard = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE); ClipboardManager clipboard = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE);
String str = Objects.requireNonNull(clipboard.getPrimaryClip()).getItemAt(0).getText().toString(); String str = Objects.requireNonNull(clipboard.getPrimaryClip())
.getItemAt(0).getText().toString();
clear(true); clear(true);
edit_text_uri_input.setText(str); edit_text_uri_input.setText(str);
startScraping(); startScraping();
} catch (Exception e) {
e.printStackTrace();
error(R.string.error_clipboard_empty);
}
} }
}); });

View File

@ -0,0 +1,5 @@
Add german translation.
Decrease MinSDK to 23 (Android 6.0).
Replace Date implementation.
Enable Dark Mode for WebViews.
Add high-res preview for www prefix.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 629 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 484 KiB

After

Width:  |  Height:  |  Size: 84 KiB