Skip to content

Commit

Permalink
chore: added ios app icon for dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-hades committed Dec 28, 2024
1 parent 63682aa commit 1082a3b
Show file tree
Hide file tree
Showing 49 changed files with 16 additions and 154 deletions.
16 changes: 8 additions & 8 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ android {
}

signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}

buildTypes {
debug {
Expand All @@ -99,7 +99,7 @@ android {
staging {
dimension "default"
applicationIdSuffix ".staging"
manifestPlaceholders = [appName: "ice-staging"]
manifestPlaceholders = [appName: "Online+"]
}
}
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/launch_icon/launch_icon_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions flutter_launcher_icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ flutter_launcher_icons:
# iOS
ios: true
remove_alpha_ios: true
image_path_ios_dark_transparent: "assets/launch_icon/launch_icon_foreground.png"
image_path_ios_tinted_grayscale: "assets/launch_icon/launch_icon_foreground.png"
desaturate_tinted_to_grayscale_ios: true
background_color_ios: "#120240"

# Web
web:
Expand Down
123 changes: 1 addition & 122 deletions ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,122 +1 @@
{
"images" : [
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "2x",
"size" : "20x20"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "3x",
"size" : "20x20"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "1x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "2x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "3x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "2x",
"size" : "40x40"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "3x",
"size" : "40x40"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "2x",
"size" : "60x60"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "3x",
"size" : "60x60"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "1x",
"size" : "20x20"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "2x",
"size" : "20x20"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "1x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "2x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "1x",
"size" : "40x40"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "2x",
"size" : "40x40"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "1x",
"size" : "76x76"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "2x",
"size" : "76x76"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"filename" : "[email protected]",
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{"images":[{"size":"20x20","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios"},{"size":"20x20","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios"},{"size":"29x29","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios"},{"size":"29x29","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios"},{"size":"38x38","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios"},{"size":"38x38","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios"},{"size":"40x40","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios"},{"size":"40x40","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios"},{"size":"60x60","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios"},{"size":"60x60","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios"},{"size":"64x64","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios"},{"size":"64x64","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios"},{"size":"68x68","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios"},{"size":"76x76","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios"},{"size":"83.5x83.5","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios"},{"size":"1024x1024","idiom":"universal","filename":"[email protected]","scale":"1x","platform":"ios"},{"size":"1024x1024","idiom":"ios-marketing","filename":"[email protected]","scale":"1x"},{"size":"20x20","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"20x20","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"29x29","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"29x29","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"38x38","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"38x38","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"40x40","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"40x40","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"60x60","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"60x60","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"64x64","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"64x64","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"68x68","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"76x76","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"83.5x83.5","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"1024x1024","idiom":"universal","filename":"[email protected]","scale":"1x","platform":"ios","appearances":[{"appearance":"luminosity","value":"dark"}]},{"size":"20x20","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"20x20","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"29x29","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"29x29","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"38x38","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"38x38","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"40x40","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"40x40","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"60x60","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"60x60","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"64x64","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"64x64","idiom":"universal","filename":"[email protected]","scale":"3x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"68x68","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"76x76","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"83.5x83.5","idiom":"universal","filename":"[email protected]","scale":"2x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]},{"size":"1024x1024","idiom":"universal","filename":"[email protected]","scale":"1x","platform":"ios","appearances":[{"appearance":"luminosity","value":"tinted"}]}],"info":{"version":1,"author":"xcode"}}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 0 additions & 21 deletions lib/app/features/feed/views/pages/feed_page/feed_page.dart
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
// SPDX-License-Identifier: ice License 1.0

import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:ion/app/components/screen_offset/screen_top_offset.dart';
import 'package:ion/app/components/scroll_view/load_more_builder.dart';
import 'package:ion/app/components/scroll_view/pull_to_refresh_builder.dart';
import 'package:ion/app/extensions/extensions.dart';
import 'package:ion/app/features/core/model/app_update_type.dart';
import 'package:ion/app/features/core/views/pages/app_update_modal.dart';
import 'package:ion/app/features/feed/data/models/feed_category.dart';
import 'package:ion/app/features/feed/providers/feed_current_filter_provider.c.dart';
import 'package:ion/app/features/feed/providers/feed_posts_data_source_provider.c.dart';
Expand All @@ -22,10 +18,8 @@ import 'package:ion/app/features/feed/views/pages/feed_page/components/feed_post
import 'package:ion/app/features/feed/views/pages/feed_page/components/stories/stories.dart';
import 'package:ion/app/features/feed/views/pages/feed_page/components/trending_videos/trending_videos.dart';
import 'package:ion/app/features/nostr/providers/entities_paged_data_provider.c.dart';
import 'package:ion/app/hooks/use_on_init.dart';
import 'package:ion/app/hooks/use_scroll_top_on_tab_press.dart';
import 'package:ion/app/router/components/navigation_app_bar/collapsing_app_bar.dart';
import 'package:ion/app/router/utils/show_simple_bottom_sheet.dart';

class FeedPage extends HookConsumerWidget {
const FeedPage({super.key});
Expand All @@ -39,21 +33,6 @@ class FeedPage extends HookConsumerWidget {
.select((state) => (state?.hasMore).falseOrValue),
);

useOnInit(
() {
if (Random().nextInt(10) == 0) {
showSimpleBottomSheet<void>(
isDismissible: false,
context: context,
child: const AppUpdateModal(
appUpdateType: AppUpdateType.updateRequired,
),
);
}
},
<Object>[],
);

useScrollTopOnTabPress(context, scrollController: scrollController);

final slivers = [
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -863,10 +863,10 @@ packages:
dependency: "direct dev"
description:
name: flutter_launcher_icons
sha256: "526faf84284b86a4cb36d20a5e45147747b7563d921373d4ee0559c54fcdbcea"
sha256: "31cd0885738e87c72d6f055564d37fabcdacee743b396b78c7636c169cac64f5"
url: "https://pub.dev"
source: hosted
version: "0.13.1"
version: "0.14.2"
flutter_localizations:
dependency: "direct main"
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ dev_dependencies:
drift_dev: ^2.22.0
flutter_gen: ^5.8.0
flutter_gen_runner: ^5.8.0
flutter_launcher_icons: ^0.13.1
flutter_launcher_icons: ^0.14.2
flutter_test:
sdk: flutter
freezed: ^2.4.1
Expand Down

0 comments on commit 1082a3b

Please sign in to comment.