forked from Nexus/nexus
Compare commits
5 changed files with 4 additions and 32 deletions
12
.github/workflows/ios.yml
vendored
12
.github/workflows/ios.yml
vendored
|
|
@ -22,17 +22,7 @@ jobs:
|
||||||
extra_nix_config: experimental-features = nix-command flakes flake-self-attrs
|
extra_nix_config: experimental-features = nix-command flakes flake-self-attrs
|
||||||
|
|
||||||
- name: Build app
|
- name: Build app
|
||||||
run: |
|
run: nix develop --command bash -c "flutter pub get && dart scripts/generate.dart && flutter pub run build_runner build && flutter build ios --release --no-codesign"
|
||||||
nix develop --command bash -c '
|
|
||||||
set -e
|
|
||||||
flutter pub get
|
|
||||||
dart scripts/generate.dart
|
|
||||||
flutter pub run build_runner build
|
|
||||||
# Nix-provided Flutter'"'"'s bundled frameworks are read-only, which
|
|
||||||
# breaks lipo when Flutter thins them into build/ (NixOS/nixpkgs#405066).
|
|
||||||
find "$(dirname "$(dirname "$(readlink -f "$(command -v flutter)")")")" -type d -iname "*.framework" -exec chmod -R u+w {} + 2>/dev/null || true
|
|
||||||
flutter build ios --release --no-codesign
|
|
||||||
'
|
|
||||||
|
|
||||||
# Unsigned IPA: SideStore/AltStore re-sign this on-device with the
|
# Unsigned IPA: SideStore/AltStore re-sign this on-device with the
|
||||||
# user's own Apple ID at install time, so no certificate is needed here.
|
# user's own Apple ID at install time, so no certificate is needed here.
|
||||||
|
|
|
||||||
12
.github/workflows/macos.yml
vendored
12
.github/workflows/macos.yml
vendored
|
|
@ -22,17 +22,7 @@ jobs:
|
||||||
extra_nix_config: experimental-features = nix-command flakes flake-self-attrs
|
extra_nix_config: experimental-features = nix-command flakes flake-self-attrs
|
||||||
|
|
||||||
- name: Build app
|
- name: Build app
|
||||||
run: |
|
run: nix develop --command bash -c "flutter pub get && dart scripts/generate.dart && flutter pub run build_runner build && flutter build macos --release"
|
||||||
nix develop --command bash -c '
|
|
||||||
set -e
|
|
||||||
flutter pub get
|
|
||||||
dart scripts/generate.dart
|
|
||||||
flutter pub run build_runner build
|
|
||||||
# Nix-provided Flutter'"'"'s bundled frameworks are read-only, which
|
|
||||||
# breaks lipo when Flutter thins them into build/ (NixOS/nixpkgs#405066).
|
|
||||||
find "$(dirname "$(dirname "$(readlink -f "$(command -v flutter)")")")" -type d -iname "*.framework" -exec chmod -R u+w {} + 2>/dev/null || true
|
|
||||||
flutter build macos --release
|
|
||||||
'
|
|
||||||
|
|
||||||
- name: Upload installer artifact
|
- name: Upload installer artifact
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v6
|
||||||
|
|
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -42,6 +42,3 @@ password.txt
|
||||||
|
|
||||||
# Nix
|
# Nix
|
||||||
/result
|
/result
|
||||||
|
|
||||||
# Local IPA builds
|
|
||||||
*.ipa
|
|
||||||
|
|
@ -234,10 +234,7 @@ class Composer extends HookConsumerWidget {
|
||||||
child: TextField(
|
child: TextField(
|
||||||
maxLines: 12,
|
maxLines: 12,
|
||||||
minLines: 1,
|
minLines: 1,
|
||||||
autofocus:
|
autofocus: true,
|
||||||
Platform.isLinux ||
|
|
||||||
Platform.isMacOS ||
|
|
||||||
Platform.isWindows,
|
|
||||||
decoration: .new(
|
decoration: .new(
|
||||||
hintText: "Your message here...",
|
hintText: "Your message here...",
|
||||||
border: .none,
|
border: .none,
|
||||||
|
|
|
||||||
|
|
@ -467,8 +467,6 @@ class RoomChat extends HookConsumerWidget {
|
||||||
AsyncData(:final value?) ||
|
AsyncData(:final value?) ||
|
||||||
AsyncLoading(:final value?) => CustomScrollView(
|
AsyncLoading(:final value?) => CustomScrollView(
|
||||||
controller: scrollController,
|
controller: scrollController,
|
||||||
keyboardDismissBehavior:
|
|
||||||
ScrollViewKeyboardDismissBehavior.onDrag,
|
|
||||||
slivers: [
|
slivers: [
|
||||||
SliverToBoxAdapter(
|
SliverToBoxAdapter(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue