Skip to content

Commit

Permalink
feat: release 2.28
Browse files Browse the repository at this point in the history
  • Loading branch information
corenting committed Feb 10, 2024
1 parent 1042f80 commit 0303c3d
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 27 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "fr.corenting.edcompanion"
minSdkVersion 21
targetSdkVersion 34
versionCode 69
versionName "2.27"
versionCode 70
versionName "2.28"
vectorDrawables.useSupportLibrary = true

buildConfigField "String", "FRONTIER_AUTH_CLIENT_ID", '"' + FRONTIER_AUTH_CLIENT_ID + '"'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,4 @@ class CommanderFleetFragment : AbstractListFragment<CommanderFleetAdapter>() {
override fun needEventBus(): Boolean {
return false
}

companion object {
const val COMMANDER_FLEET_FRAGMENT_TAG = "commander_fleet_fragment"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,4 @@ class CommanderLoadoutsFragment : AbstractListFragment<CommanderLoadoutsAdapter>
override fun needEventBus(): Boolean {
return false
}

companion object {
const val COMMANDER_LOADOUTS_FRAGMENT_TAG = "commander_loadouts_fragment"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,4 @@ class CommodityDetailsBuyFragment : AbstractListFragment<CommodityDetailsStation
endLoading(stations.stations.isEmpty())
recyclerViewAdapter.submitList(stations.stations)
}

companion object {
const val COMMODITY_DETAILS_BUY_FRAGMENT_TAG = "commodity_details_buy"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.text.NumberFormat;

import fr.corenting.edcompanion.R;
import fr.corenting.edcompanion.activities.SystemDetailsActivity;
import fr.corenting.edcompanion.activities.CommodityDetailsActivity;
import fr.corenting.edcompanion.databinding.FragmentCommodityDetailsBinding;
import fr.corenting.edcompanion.models.CommodityDetailsResult;
import fr.corenting.edcompanion.utils.MathUtils;
Expand All @@ -38,7 +38,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
SwipeRefreshLayout.OnRefreshListener listener = () -> {
binding.swipeContainer.setRefreshing(true);
if (getActivity() != null) {
((SystemDetailsActivity) getActivity()).getData();
((CommodityDetailsActivity) getActivity()).getData();
}
};
binding.swipeContainer.setOnRefreshListener(listener);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,4 @@ class CommodityDetailsSellFragment : AbstractListFragment<CommodityDetailsStatio
endLoading(stations.stations.isEmpty())
recyclerViewAdapter.submitList(stations.stations)
}

companion object {

const val COMMODITY_DETAILS_SELL_FRAGMENT_TAG = "commodity_details_sell"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,4 @@ class SystemStationsFragment : AbstractListFragment<SystemStationsAdapter>() {
endLoading(stations.stations.isEmpty())
recyclerViewAdapter.submitList(stations.stations)
}

companion object {
const val SYSTEM_STATIONS_FRAGMENT_TAG = "system_stations"
}
}
4 changes: 2 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@
<string name="changelog_title">Changelog</string>
<string name="changelog_message">
<![CDATA[
<b>Version 2.27</b><br />
<b>Version 2.28</b><br />
<ul>
<li>Add CMDR loadout in commander tab (only if using Frontier)</li><br />
<li>Add a "loadouts" tab in the commander tab (only if using Frontier, can be disabled in the settings)</li><br />
<li>Internal updates</li><br />
</ul>
<p>Special thanks to the EDCompanion user who donated the Odyssey extension which will help developing Odyssey-related features!</p>
Expand Down

0 comments on commit 0303c3d

Please sign in to comment.