Skip to content

Commit

Permalink
Minor issue fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
InvertedX committed Mar 28, 2020
1 parent 6c7e650 commit cd53e49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
export "FLUTTER_FRAMEWORK_DIR=/Users/sarath/flutter/bin/cache/artifacts/engine/ios"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
export "FLUTTER_BUILD_NAME=0.1.6"
export "FLUTTER_BUILD_NUMBER=8"
4 changes: 2 additions & 2 deletions lib/screens/watch_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ class _WatchListState extends State<WatchList> with SingleTickerProviderStateMix
}
return ListView.builder(
controller: scrollController,
itemCount: 12,
itemCount: model.xpubs.length,
itemBuilder: (context, index) {
return ChangeNotifierProvider.value(
value: model.xpubs[0],
value: model.xpubs[index],
child: SlideUpWrapper(
Card(
elevation: 4,
Expand Down
5 changes: 0 additions & 5 deletions lib/utils/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ String getTorStatusInText(TorStatus torStatus) {
return "";
}

String formattedRate(int rate) {
Rate selectedRate = AppState().selectedRate;
double satRate = (rate / 100000000).toDouble();
return " ${satRate * selectedRate.rate} ${selectedRate.currency}";
}

Future<bool> checkNetworkStatusBeforeApiCall(
Function(SnackBar) callback) async {
Expand Down

0 comments on commit cd53e49

Please sign in to comment.