diff --git a/README.md b/README.md index 11118902d..811fb3339 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,3 @@ Windows: ./gradlew.bat build ``` -# Thanks - -App icon originals by [Freepik](https://www.flaticon.com) and distributed under the [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/) license, -and formatted using [Android Asset Studio](https://romannurik.github.io/AndroidAssetStudio/index.html). diff --git a/app/src/main/java/protect/card_locker/MainActivity.java b/app/src/main/java/protect/card_locker/MainActivity.java index c22c64649..bf48e3512 100644 --- a/app/src/main/java/protect/card_locker/MainActivity.java +++ b/app/src/main/java/protect/card_locker/MainActivity.java @@ -23,7 +23,10 @@ import android.widget.ListView; import android.widget.TextView; import android.widget.Toast; +import com.google.common.collect.ImmutableMap; + import java.util.Calendar; +import java.util.Map; public class MainActivity extends AppCompatActivity { @@ -160,18 +163,18 @@ public class MainActivity extends AppCompatActivity private void displayAboutDialog() { - final String[][] USED_LIBRARIES = new String[][] - { - new String[] {"Commons CSV", "https://commons.apache.org/proper/commons-csv/"}, - new String[] {"Guava", "https://github.com/google/guava"}, - new String[] {"ZXing", "https://github.com/zxing/zxing"}, - new String[] {"ZXing Android Embedded", "https://github.com/journeyapps/zxing-android-embedded"}, - }; + final Map USED_LIBRARIES = ImmutableMap.of + ( + "Commons CSV", "https://commons.apache.org/proper/commons-csv/", + "Guava", "https://github.com/google/guava", + "ZXing", "https://github.com/zxing/zxing", + "ZXing Android Embedded", "https://github.com/journeyapps/zxing-android-embedded" + ); StringBuilder libs = new StringBuilder().append("");