don't wait from App Nav push ok on loggin succeded
This commit is contained in:
parent
88e1499e4b
commit
f62a020c82
3 changed files with 13 additions and 5 deletions
5
Makefile
5
Makefile
|
|
@ -163,7 +163,7 @@ POSTIT_RID ?= android-x64
|
||||||
EMU_HEADLESS ?= 0
|
EMU_HEADLESS ?= 0
|
||||||
LOGCAT_LINES ?= 600
|
LOGCAT_LINES ?= 600
|
||||||
LOGCAT_FOLLOW ?= 0
|
LOGCAT_FOLLOW ?= 0
|
||||||
LOGCAT_BOOT_WAIT ?= 20
|
LOGCAT_BOOT_WAIT ?= 30
|
||||||
|
|
||||||
ANDROID_PACKAGE_NAME = fr.pschneider.PostIt
|
ANDROID_PACKAGE_NAME = fr.pschneider.PostIt
|
||||||
POSTIT_ANDROID_CSPROJ := src/PostIt/PostIt.Android/PostIt.Android.csproj
|
POSTIT_ANDROID_CSPROJ := src/PostIt/PostIt.Android/PostIt.Android.csproj
|
||||||
|
|
@ -275,7 +275,8 @@ qemu-logcat-boot:
|
||||||
@PID=$$(adb -s $(ADB_SERIAL) shell pidof $(ANDROID_PACKAGE_NAME) 2>/dev/null | tr -d '\r\n'); \
|
@PID=$$(adb -s $(ADB_SERIAL) shell pidof $(ANDROID_PACKAGE_NAME) 2>/dev/null | tr -d '\r\n'); \
|
||||||
if [ -n "$$PID" ]; then \
|
if [ -n "$$PID" ]; then \
|
||||||
echo " ✅ (PID $$PID at dump time)"; \
|
echo " ✅ (PID $$PID at dump time)"; \
|
||||||
adb -s $(ADB_SERIAL) logcat -d -v time --pid=$$PID; \
|
sleep 10; \
|
||||||
|
adb -s $(ADB_SERIAL) logcat -d -v time -t $(LOGCAT_LINES) --pid=$$PID; \
|
||||||
else \
|
else \
|
||||||
echo " 👿 (PostIt process not running at dump time — dumping last $(LOGCAT_LINES) lines unfiltered)"; \
|
echo " 👿 (PostIt process not running at dump time — dumping last $(LOGCAT_LINES) lines unfiltered)"; \
|
||||||
adb -s $(ADB_SERIAL) logcat -d -v time -t $(LOGCAT_LINES); \
|
adb -s $(ADB_SERIAL) logcat -d -v time -t $(LOGCAT_LINES); \
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ public partial class App : Application
|
||||||
|
|
||||||
sessionStatus.LoginSucceeded += () =>
|
sessionStatus.LoginSucceeded += () =>
|
||||||
{
|
{
|
||||||
PushMainPageAsync().Wait();
|
PushMainPageAsync();
|
||||||
};
|
};
|
||||||
|
|
||||||
Window.SessionBanner.DataContext = sessionStatus;
|
Window.SessionBanner.DataContext = sessionStatus;
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,14 @@
|
||||||
|
|
||||||
<TextBlock Grid.Row="0" Text="Post detail" FontWeight="SemiBold" />
|
<TextBlock Grid.Row="0" Text="Post detail" FontWeight="SemiBold" />
|
||||||
<TextBox Grid.Row="1" Text="{Binding DraftTitle, Mode=TwoWay}" PlaceholderText="Title" />
|
<TextBox Grid.Row="1" Text="{Binding DraftTitle, Mode=TwoWay}" PlaceholderText="Title" />
|
||||||
<AvaloniaEdit:TextEditor Grid.Row="2"
|
<TextBox Grid.Row="2" PlaceholderText="Write something here !"
|
||||||
|
Text="{Binding DraftArticle, Mode=TwoWay}"
|
||||||
|
MinHeight="320"
|
||||||
|
HorizontalAlignment="Stretch"
|
||||||
|
VerticalAlignment="Stretch">
|
||||||
|
|
||||||
|
</TextBox>
|
||||||
|
<!-- <AvaloniaEdit:TextEditor Grid.Row="2"
|
||||||
views:TextEditorBinding.Text="{Binding DraftArticle, Mode=TwoWay}"
|
views:TextEditorBinding.Text="{Binding DraftArticle, Mode=TwoWay}"
|
||||||
ShowLineNumbers="True"
|
ShowLineNumbers="True"
|
||||||
FontFamily="Cascadia Code, Consolas, Menlo, Monospace"
|
FontFamily="Cascadia Code, Consolas, Menlo, Monospace"
|
||||||
|
|
@ -105,7 +112,7 @@
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
VerticalAlignment="Stretch"
|
VerticalAlignment="Stretch"
|
||||||
VerticalScrollBarVisibility="Auto"
|
VerticalScrollBarVisibility="Auto"
|
||||||
HorizontalScrollBarVisibility="Auto" />
|
HorizontalScrollBarVisibility="Auto" /> -->
|
||||||
<TextBlock Grid.Row="3" Text="{Binding StatusMessage}" Foreground="Gray" />
|
<TextBlock Grid.Row="3" Text="{Binding StatusMessage}" Foreground="Gray" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue